#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/strings/stringprintf.h"
#include "base/threading/thread_restrictions.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "extensions/browser/extension_host.h"
#include "extensions/browser/process_manager.h"
#include "extensions/test/extension_test_message_listener.h"
#include "extensions/test/test_extension_dir.h"
#include "net/base/filename_util.h"
class FileIFrameAPITest : public extensions::ExtensionBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FileIFrameAPITest, FileAccessAllURLs) { … }
IN_PROC_BROWSER_TEST_F(FileIFrameAPITest, NoFileAccessAllURLs) { … }
IN_PROC_BROWSER_TEST_F(FileIFrameAPITest, FileAccessNoHosts) { … }