/external/chromium_org/chrome/browser/extensions/api/i18n/ |
i18n_apitest.cc | 23 base::ScopedTempDir extension_dir; local 24 ASSERT_TRUE(extension_dir.CreateUniqueTempDir()); 28 extension_dir.path().AppendASCII("manifest.json")); 32 extension_dir.path().AppendASCII("contentscript.js")); 36 extension_dir.path().AppendASCII("_locales"), 39 const extensions::Extension* extension = LoadExtension(extension_dir.path()); 57 extension_dir.path().AppendASCII("_locales/en/messages.json"));
|
/external/chromium_org/chrome/browser/extensions/ |
extension_loading_browsertest.cc | 34 TestExtensionDir extension_dir; local 49 extension_dir.WriteManifest(base::StringPrintf(manifest_template, 1)); 50 extension_dir.WriteFile(FILE_PATH_LITERAL("event.js"), ""); 51 extension_dir.WriteFile(FILE_PATH_LITERAL("newtab.html"), 55 InstallExtension(extension_dir.Pack(), 1 /*new install*/); 71 extension_dir.WriteManifest(base::StringPrintf(manifest_template, 2)); 75 new_tab_extension->id(), extension_dir.Pack(), 0 /*expected upgrade*/);
|
extension_creator.h | 42 bool Run(const base::FilePath& extension_dir, 54 // Verifies input directory's existence. |extension_dir| is the source 61 bool InitializeInput(const base::FilePath& extension_dir, 68 bool ValidateManifest(const base::FilePath& extension_dir, 80 bool CreateZip(const base::FilePath& extension_dir, const base::FilePath& temp_path,
|
plugin_apitest.cc | 51 base::FilePath extension_dir = local 55 net::FilePathToFileURL(extension_dir.AppendASCII("test.html"))); 68 const Extension* extension = LoadExtension(extension_dir); 93 ASSERT_TRUE(LoadExtension(extension_dir)); 141 base::FilePath extension_dir = local 148 const Extension* extension = LoadExtension(extension_dir); 185 net::FilePathToFileURL(extension_dir.AppendASCII("test.html")));
|
extension_creator.cc | 37 const base::FilePath& extension_dir, 42 // Validate input |extension_dir|. 43 if (extension_dir.value().empty() || 44 !base::DirectoryExists(extension_dir)) { 51 base::MakeAbsoluteFilePath(extension_dir); 88 bool ExtensionCreator::ValidateManifest(const base::FilePath& extension_dir, 112 file_util::LoadExtension(extension_dir, 193 bool ExtensionCreator::CreateZip(const base::FilePath& extension_dir, 201 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) { 287 bool ExtensionCreator::Run(const base::FilePath& extension_dir, [all...] |
extension_garbage_collector_unittest.cc | 90 base::FilePath extension_dir = local 92 ASSERT_FALSE(base::PathExists(extension_dir)); 120 base::FilePath extension_dir = local 122 ASSERT_TRUE(base::PathExists(extension_dir)); 129 ASSERT_FALSE(base::PathExists(extension_dir));
|
convert_web_app_unittest.cc | 119 base::ScopedTempDir extension_dir; local 120 EXPECT_TRUE(extension_dir.Set(extension->path())); 165 base::ScopedTempDir extension_dir; local 166 EXPECT_TRUE(extension_dir.Set(extension->path()));
|
extension_context_menu_browsertest.cc | 35 base::FilePath extension_dir = local 37 return LoadExtension(extension_dir); 44 base::FilePath extension_dir = local 46 extension_dir = extension_dir.AppendASCII(subdirectory); 47 return LoadExtension(extension_dir); 52 base::FilePath extension_dir = local 54 return LoadExtensionIncognito(extension_dir);
|
crx_installer.h | 227 const base::FilePath& extension_dir,
|
crx_installer.cc | 437 const base::FilePath& extension_dir, 463 unpacked_extension_root_ = extension_dir; [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
chrome_launcher_unittest.cc | 24 base::FilePath extension_dir; local 26 Status status = internal::ProcessExtensions(extensions, extension_dir, 51 base::ScopedTempDir extension_dir; local 59 ASSERT_TRUE(extension_dir.CreateUniqueTempDir()); 61 Status status = internal::ProcessExtensions(extensions, extension_dir.path(), 78 base::ScopedTempDir extension_dir; local 79 ASSERT_TRUE(extension_dir.CreateUniqueTempDir()); 83 Status status = internal::ProcessExtensions(extensions, extension_dir.path(), 116 base::ScopedTempDir extension_dir; local 117 ASSERT_TRUE(extension_dir.CreateUniqueTempDir()) 138 base::ScopedTempDir extension_dir; local [all...] |
chrome_launcher.cc | 75 base::FilePath extension_dir = temp_dir.AppendASCII("internal"); local 76 if (!zip::Unzip(extension_zip, extension_dir)) 79 *automation_extension = extension_dir; 87 base::ScopedTempDir* extension_dir, 141 if (!extension_dir->CreateUniqueTempDir()) { 146 extension_dir->path(), 224 base::ScopedTempDir extension_dir; local 230 &extension_dir, 331 &extension_dir)); 553 base::FilePath extension_dir = temp_dir.AppendASCII("extension_" + id) local [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
chrome_desktop_impl.cc | 71 base::ScopedTempDir* extension_dir) 79 if (extension_dir->IsValid()) 80 CHECK(extension_dir_.Set(extension_dir->Take())); 86 base::FilePath extension_dir = extension_dir_.Take(); local 88 << user_data_dir.value() << " and " << extension_dir.value();
|
chrome_desktop_impl.h | 35 base::ScopedTempDir* extension_dir);
|
/external/chromium_org/chrome/browser/extensions/api/commands/ |
command_service_browsertest.cc | 95 base::FilePath extension_dir = local 97 const Extension* extension = InstallExtension(extension_dir, 1);
|
/external/chromium_org/extensions/common/ |
file_util.cc | 62 base::FilePath extension_dir = extensions_dir.AppendASCII(id); local 66 if (!base::PathExists(extension_dir)) { 67 if (!base::CreateDirectory(extension_dir)) 91 base::FilePath candidate = extension_dir.AppendASCII( 233 const base::FilePath& extension_dir) { 237 extension_dir, /*recursive=*/true, base::FileEnumerator::FILES);
|
file_util.h | 80 // Returns a list of files that contain private keys inside |extension_dir|. 82 const base::FilePath& extension_dir);
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
cros_browser_backend.py | 51 extension_dir = cri.RunCmdOnDevice( 53 cri.PushFile(e.path, extension_dir) 54 cri.Chown(extension_dir) 55 e.local_path = os.path.join(extension_dir, os.path.basename(e.path))
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
sync_storage_backend.cc | 123 base::FilePath extension_dir = extension_dirs.GetInfo().GetName(); local 124 DCHECK(!extension_dir.IsAbsolute()); 126 std::string maybe_as_ascii(extension_dir.MaybeAsASCII());
|
settings_apitest.cc | 100 const std::string& extension_dir) { 105 &extension_dir, 149 const std::string* extension_dir, 157 if (extension_dir) { 159 test_data_dir_.AppendASCII("settings").AppendASCII(*extension_dir));
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
sync_extension_helper.cc | 323 base::FilePath extension_dir; local 330 &extension_dir)) { 336 Extension::Create(extension_dir, Manifest::INTERNAL, source,
|