Home
last modified time | relevance | path

Searched refs:extension_path (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dextension_ui_unittest.cc25 const FilePath& extension_path, in CreateExtensionDetailViewFromPath() argument
30 FilePath manifest_path = extension_path.Append( in CreateExtensionDetailViewFromPath()
37 extension_path, location, *extension_data, in CreateExtensionDetailViewFromPath()
48 const FilePath& extension_path, in CompareExpectedAndActualOutput() argument
60 extension_path, pages, Extension::INVALID)); in CompareExpectedAndActualOutput()
66 extension_path.MaybeAsASCII() + ")"; in CompareExpectedAndActualOutput()
87 FilePath data_test_dir_path, extension_path, expected_output_path; in TEST() local
91 extension_path = data_test_dir_path.AppendASCII("extensions") in TEST()
110 CompareExpectedAndActualOutput(extension_path, pages, expected_output_path); in TEST()
114 extension_path = data_test_dir_path.AppendASCII("extensions") in TEST()
[all …]
Dextension_service.cc190 void ReportExtensionLoadError(const FilePath& extension_path,
225 FilePath extension_path = path_in; in LoadSingleExtension() local
226 file_util::AbsolutePath(&extension_path); in LoadSingleExtension()
234 extension_path, in LoadSingleExtension()
240 ReportExtensionLoadError(extension_path, error); in LoadSingleExtension()
254 const FilePath& extension_path, const std::string &error) { in ReportExtensionLoadError() argument
260 &ExtensionService::ReportExtensionLoadError, extension_path, in ReportExtensionLoadError()
555 const FilePath& extension_path, in UpdateExtension() argument
572 extension_file_util::DeleteFile, extension_path, false)); in UpdateExtension()
592 installer->InstallCrx(extension_path); in UpdateExtension()
[all …]
Dexternal_registry_extension_loader_win.cc56 FilePath extension_path(extension_path_str); in LoadOnFileThread() local
57 if (!extension_path.IsAbsolute()) { in LoadOnFileThread()
Dextension_browsertests_misc.cc161 FilePath extension_path(test_data_dir_.AppendASCII("api_test") in IN_PROC_BROWSER_TEST_F() local
164 ASSERT_TRUE(LoadExtension(extension_path)); in IN_PROC_BROWSER_TEST_F()
186 FilePath extension_path(test_data_dir_.AppendASCII("subscribe_page_action")); in IN_PROC_BROWSER_TEST_F() local
187 ASSERT_TRUE(LoadExtension(extension_path)); in IN_PROC_BROWSER_TEST_F()
279 FilePath extension_path(test_data_dir_.AppendASCII("browsertest") in IN_PROC_BROWSER_TEST_F() local
281 ASSERT_TRUE(LoadExtension(extension_path)); in IN_PROC_BROWSER_TEST_F()
303 FilePath extension_path(test_data_dir_.AppendASCII("browsertest") in IN_PROC_BROWSER_TEST_F() local
305 ASSERT_TRUE(LoadExtension(extension_path)); in IN_PROC_BROWSER_TEST_F()
Duser_script_listener_unittest.cc155 FilePath extension_path = test_dir in LoadTestExtension() local
161 service_->LoadExtension(extension_path); in LoadTestExtension()
Dextension_service.h243 const FilePath& extension_path,
278 void LoadExtension(const FilePath& extension_path);
412 void ReportExtensionLoadError(const FilePath& extension_path,
Dextension_browsertest.cc74 FilePath extension_path = path; in LoadExtensionImpl() local
75 file_util::AbsolutePath(&extension_path); in LoadExtensionImpl()
80 if ((*iter)->path() == extension_path) { in LoadExtensionImpl()
Dextension_service_unittest.cc1675 FilePath extension_path = data_dir_ in TEST_F() local
1678 service_->LoadExtension(extension_path); in TEST_F()
2027 FilePath extension_path = temp.path(); in TEST_F() local
2028 FilePath manifest_path = extension_path.Append(Extension::kManifestFilename); in TEST_F()
2039 service_->LoadExtension(extension_path); in TEST_F()
2053 service_->LoadExtension(extension_path); in TEST_F()
2582 FilePath extension_path = extensions_install_dir_.AppendASCII(extension_id); in TEST_F() local
2583 EXPECT_TRUE(file_util::PathExists(extension_path)); in TEST_F()
2604 EXPECT_FALSE(file_util::PathExists(extension_path)); in TEST_F()
2617 FilePath extension_path = extensions_install_dir_.AppendASCII(extension_id); in TEST_F() local
[all …]
Dextensions_ui.cc519 std::string extension_path; in HandlePackMessage() local
522 CHECK(args->GetString(0, &extension_path)); in HandlePackMessage()
526 FilePath::FromWStringHack(UTF8ToWide(extension_path)); in HandlePackMessage()
530 if (extension_path.empty()) { in HandlePackMessage()
Dextension_updater_unittest.cc259 const FilePath& extension_path, in UpdateExtension() argument
262 install_path_ = extension_path; in UpdateExtension()
/external/chromium/chrome/common/extensions/
Dextension_file_util.cc89 scoped_refptr<Extension> LoadExtension(const FilePath& extension_path, in LoadExtension() argument
94 extension_path.Append(Extension::kManifestFilename); in LoadExtension()
123 if (!extension_l10n_util::LocalizeExtension(extension_path, manifest, error)) in LoadExtension()
127 extension_path, in LoadExtension()
318 FilePath extension_path; in GarbageCollectExtensions() local
319 for (extension_path = enumerator.Next(); !extension_path.value().empty(); in GarbageCollectExtensions()
320 extension_path = enumerator.Next()) { in GarbageCollectExtensions()
323 FilePath basename = extension_path.BaseName(); in GarbageCollectExtensions()
335 << extension_path.value() << "."; in GarbageCollectExtensions()
336 file_util::Delete(extension_path, true); // Recursive. in GarbageCollectExtensions()
[all …]
Dextension_unpacker.h27 explicit ExtensionUnpacker(const FilePath& extension_path);
47 static bool ReadImagesFromFile(const FilePath& extension_path,
53 static bool ReadMessageCatalogsFromFile(const FilePath& extension_path,
Dextension_unpacker.cc87 ExtensionUnpacker::ExtensionUnpacker(const FilePath& extension_path) in ExtensionUnpacker() argument
88 : extension_path_(extension_path) { in ExtensionUnpacker()
244 bool ExtensionUnpacker::ReadImagesFromFile(const FilePath& extension_path, in ReadImagesFromFile() argument
246 FilePath path = extension_path.AppendASCII(filenames::kDecodedImagesFilename); in ReadImagesFromFile()
258 const FilePath& extension_path, DictionaryValue* catalogs) { in ReadMessageCatalogsFromFile() argument
259 FilePath path = extension_path.AppendASCII( in ReadMessageCatalogsFromFile()
Dextension_file_util.h65 const FilePath& extension_path,
73 bool CheckForIllegalFilenames(const FilePath& extension_path,
Dextension_l10n_util.h47 bool LocalizeExtension(const FilePath& extension_path,
Dextension_l10n_util.cc135 bool LocalizeExtension(const FilePath& extension_path, in LocalizeExtension() argument
144 extension_path, default_locale, error)); in LocalizeExtension()
Dextension.h945 FilePath extension_path; member
/external/chromium/chrome/browser/sidebar/
Dsidebar_browsertest.cc42 FilePath extension_path; in SetUpOnMainThread() local
43 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &extension_path)); in SetUpOnMainThread()
44 extension_path = extension_path.AppendASCII("sidebar"); in SetUpOnMainThread()
46 ASSERT_TRUE(LoadExtension(extension_path)); in SetUpOnMainThread()
/external/chromium/chrome/browser/renderer_host/
Dchrome_render_message_filter.cc188 FilePath extension_path = in OnGetExtensionMessageBundle() local
198 extension_path, extension_id, default_locale, reply_msg)); in OnGetExtensionMessageBundle()
202 const FilePath& extension_path, in OnGetExtensionMessageBundleOnFileThread() argument
214 extension_path, default_locale, &error)); in OnGetExtensionMessageBundleOnFileThread()
Dchrome_render_message_filter.h71 const FilePath& extension_path,
/external/chromium/chrome/browser/sync/util/
Dextensions_activity_monitor_unittest.cc69 void NewEvent(const FilePath::StringType& extension_path, in NewEvent() argument
76 FilePath(extension_path), Extension::INVALID, input, in NewEvent()
129 const FilePath::StringType& extension_path) { in GetExtensionIdForPath() argument
135 FilePath(extension_path), Extension::INVALID, input, in GetExtensionIdForPath()
/external/chromium/chrome/browser/sync/glue/
Dextension_util_unittest.cc50 const FilePath& extension_path) { in MakeExtension() argument
80 extension_path, location, source, Extension::STRICT_ERROR_CHECKS, &error); in MakeExtension()
386 const FilePath& extension_path) { in MakeSyncableExtension() argument
393 extension_path, Extension::INTERNAL, source, in MakeSyncableExtension()
Dtheme_util_unittest.cc28 scoped_refptr<Extension> MakeThemeExtension(const FilePath& extension_path, in MakeThemeExtension() argument
38 extension_path, Extension::INTERNAL, source, in MakeThemeExtension()
/external/chromium/chrome/browser/ui/webui/options/
Dextension_settings_handler.cc612 std::string extension_path; in HandlePackMessage() local
615 CHECK(args->GetString(0, &extension_path)); in HandlePackMessage()
619 FilePath::FromWStringHack(UTF8ToWide(extension_path)); in HandlePackMessage()
623 if (extension_path.empty()) { in HandlePackMessage()
Dextension_settings_handler.h124 const FilePath& extension_path);

12