/external/chromium/chrome/browser/extensions/ |
D | extension_ui_unittest.cc | 25 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 …]
|
D | extension_service.cc | 190 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 …]
|
D | external_registry_extension_loader_win.cc | 56 FilePath extension_path(extension_path_str); in LoadOnFileThread() local 57 if (!extension_path.IsAbsolute()) { in LoadOnFileThread()
|
D | extension_browsertests_misc.cc | 161 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()
|
D | user_script_listener_unittest.cc | 155 FilePath extension_path = test_dir in LoadTestExtension() local 161 service_->LoadExtension(extension_path); in LoadTestExtension()
|
D | extension_service.h | 243 const FilePath& extension_path, 278 void LoadExtension(const FilePath& extension_path); 412 void ReportExtensionLoadError(const FilePath& extension_path,
|
D | extension_browsertest.cc | 74 FilePath extension_path = path; in LoadExtensionImpl() local 75 file_util::AbsolutePath(&extension_path); in LoadExtensionImpl() 80 if ((*iter)->path() == extension_path) { in LoadExtensionImpl()
|
D | extension_service_unittest.cc | 1675 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 …]
|
D | extensions_ui.cc | 519 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()
|
D | extension_updater_unittest.cc | 259 const FilePath& extension_path, in UpdateExtension() argument 262 install_path_ = extension_path; in UpdateExtension()
|
/external/chromium/chrome/common/extensions/ |
D | extension_file_util.cc | 89 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 …]
|
D | extension_unpacker.h | 27 explicit ExtensionUnpacker(const FilePath& extension_path); 47 static bool ReadImagesFromFile(const FilePath& extension_path, 53 static bool ReadMessageCatalogsFromFile(const FilePath& extension_path,
|
D | extension_unpacker.cc | 87 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()
|
D | extension_file_util.h | 65 const FilePath& extension_path, 73 bool CheckForIllegalFilenames(const FilePath& extension_path,
|
D | extension_l10n_util.h | 47 bool LocalizeExtension(const FilePath& extension_path,
|
D | extension_l10n_util.cc | 135 bool LocalizeExtension(const FilePath& extension_path, in LocalizeExtension() argument 144 extension_path, default_locale, error)); in LocalizeExtension()
|
D | extension.h | 945 FilePath extension_path; member
|
/external/chromium/chrome/browser/sidebar/ |
D | sidebar_browsertest.cc | 42 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/ |
D | chrome_render_message_filter.cc | 188 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()
|
D | chrome_render_message_filter.h | 71 const FilePath& extension_path,
|
/external/chromium/chrome/browser/sync/util/ |
D | extensions_activity_monitor_unittest.cc | 69 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/ |
D | extension_util_unittest.cc | 50 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()
|
D | theme_util_unittest.cc | 28 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/ |
D | extension_settings_handler.cc | 612 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()
|
D | extension_settings_handler.h | 124 const FilePath& extension_path);
|