HomeSort by relevance Sort by last modified time
    Searched full:extension_dir (Results 1 - 25 of 32) sorted by null

1 2

  /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 33 TestExtensionDir extension_dir; local
48 extension_dir.WriteManifest(base::StringPrintf(manifest_template, 1));
49 extension_dir.WriteFile(FILE_PATH_LITERAL("event.js"), "");
50 extension_dir.WriteFile(FILE_PATH_LITERAL("newtab.html"),
54 InstallExtension(extension_dir.Pack(), 1 /*new install*/);
70 extension_dir.WriteManifest(base::StringPrintf(manifest_template, 2));
74 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,
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,
113 extension_dir,
194 bool ExtensionCreator::CreateZip(const base::FilePath& extension_dir,
202 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) {
288 bool ExtensionCreator::Run(const base::FilePath& extension_dir,
    [all...]
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")));
convert_web_app_unittest.cc 121 base::ScopedTempDir extension_dir; local
122 EXPECT_TRUE(extension_dir.Set(extension->path()));
171 base::ScopedTempDir extension_dir; local
172 EXPECT_TRUE(extension_dir.Set(extension->path()));
extension_context_menu_browsertest.cc 90 base::FilePath extension_dir = local
92 return LoadExtension(extension_dir);
99 base::FilePath extension_dir = local
101 extension_dir = extension_dir.AppendASCII(subdirectory);
102 return LoadExtension(extension_dir);
107 base::FilePath extension_dir = local
109 return LoadExtensionIncognito(extension_dir);
  /external/chromium_org/chrome/test/chromedriver/
chrome_launcher_unittest.cc 23 base::FilePath extension_dir; local
25 Status status = internal::ProcessExtensions(extensions, extension_dir,
50 base::ScopedTempDir extension_dir; local
58 ASSERT_TRUE(extension_dir.CreateUniqueTempDir());
60 Status status = internal::ProcessExtensions(extensions, extension_dir.path(),
77 base::ScopedTempDir extension_dir; local
78 ASSERT_TRUE(extension_dir.CreateUniqueTempDir());
82 Status status = internal::ProcessExtensions(extensions, extension_dir.path(),
115 base::ScopedTempDir extension_dir; local
116 ASSERT_TRUE(extension_dir.CreateUniqueTempDir())
137 base::ScopedTempDir extension_dir; local
    [all...]
chrome_launcher.cc 72 base::FilePath extension_dir = temp_dir.AppendASCII("internal"); local
73 if (!zip::Unzip(extension_zip, extension_dir))
76 *automation_extension = extension_dir;
84 base::ScopedTempDir* extension_dir,
139 if (!extension_dir->CreateUniqueTempDir()) {
144 extension_dir->path(),
217 base::ScopedTempDir extension_dir; local
223 &extension_dir,
321 &extension_dir));
513 base::FilePath extension_dir = temp_dir.AppendASCII("extension_" + id) local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_creator.h 29 bool Run(const FilePath& extension_dir,
38 // Verifies input directory's existence. |extension_dir| is the source
43 bool InitializeInput(const FilePath& extension_dir,
55 bool CreateZip(const FilePath& extension_dir, const FilePath& temp_path,
extension_creator.cc 28 const FilePath& extension_dir,
31 // Validate input |extension_dir|.
32 if (extension_dir.value().empty() ||
33 !file_util::DirectoryExists(extension_dir)) {
39 FilePath absolute_extension_dir = extension_dir;
151 bool ExtensionCreator::CreateZip(const FilePath& extension_dir,
156 if (!Zip(extension_dir, *zip_path, false)) { // no hidden files
238 bool ExtensionCreator::Run(const FilePath& extension_dir,
243 if (!InitializeInput(extension_dir, private_key_path,
265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) &
    [all...]
convert_web_app_unittest.cc 112 ScopedTempDir extension_dir; local
113 EXPECT_TRUE(extension_dir.Set(extension->path()));
155 ScopedTempDir extension_dir; local
156 EXPECT_TRUE(extension_dir.Set(extension->path()));
extension_context_menu_browsertest.cc 121 FilePath extension_dir = local
123 return LoadExtension(extension_dir);
127 FilePath extension_dir = local
129 return LoadExtensionIncognito(extension_dir);
extension_browsertests_misc.cc 708 FilePath extension_dir = local
712 net::FilePathToFileURL(extension_dir.AppendASCII("test.html")));
723 ASSERT_TRUE(LoadExtension(extension_dir));
748 ASSERT_TRUE(LoadExtension(extension_dir));
766 FilePath extension_dir = local
771 ASSERT_TRUE(LoadExtension(extension_dir));
    [all...]
crx_installer.cc 297 const FilePath& extension_dir,
307 unpacked_extension_root_ = extension_dir;
  /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 94 base::FilePath extension_dir = local
96 const Extension* extension = InstallExtension(extension_dir, 1);
  /external/chromium_org/chrome/common/extensions/
extension_file_util.h 90 // Returns a list of files that contain private keys inside |extension_dir|.
92 const base::FilePath& extension_dir);
extension_file_util.cc 69 base::FilePath extension_dir = extensions_dir.AppendASCII(id); local
73 if (!base::PathExists(extension_dir)) {
74 if (!base::CreateDirectory(extension_dir))
98 base::FilePath candidate = extension_dir.AppendASCII(
202 const base::FilePath& extension_dir) {
205 base::FileEnumerator traversal(extension_dir, /*recursive=*/true,
  /external/chromium_org/chrome/browser/extensions/api/storage/
settings_apitest.cc 142 const std::string& extension_dir) {
147 &extension_dir,
192 const std::string* extension_dir,
200 if (extension_dir) {
202 test_data_dir_.AppendASCII("settings").AppendASCII(*extension_dir));
settings_backend.cc 122 base::FilePath extension_dir = extension_dirs.GetInfo().GetName(); local
123 DCHECK(!extension_dir.IsAbsolute());
125 std::string maybe_as_ascii(extension_dir.MaybeAsASCII());
  /external/chromium_org/chrome/browser/sync/test/integration/
sync_extension_helper.cc 309 base::FilePath extension_dir; local
316 &extension_dir)) {
322 Extension::Create(extension_dir, Manifest::INTERNAL, source,
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
cros_browser_backend.py 66 extension_dir = output[0].rstrip()
67 cri.PushFile(e.path, extension_dir)
68 cri.Chown(extension_dir)
69 e.local_path = os.path.join(extension_dir, os.path.basename(e.path))
  /external/chromium/chrome/common/extensions/
extension_file_util.cc 48 FilePath extension_dir = all_extensions_dir.AppendASCII(id); local
52 if (!file_util::PathExists(extension_dir)) {
53 if (!file_util::CreateDirectory(extension_dir))
61 FilePath candidate = extension_dir.AppendASCII(

Completed in 403 milliseconds

1 2