Home
last modified time | relevance | path

Searched refs:disabled_extensions (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dextension_management_browsertest.cc78 if (service->disabled_extensions()->size() != 1u) in InstallAndUpdateIncreasingPermissionsExtension()
147 service->EnableExtension(service->disabled_extensions()->at(0)->id()); in IN_PROC_BROWSER_TEST_F()
149 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
159 UninstallExtension(service->disabled_extensions()->at(0)->id()); in IN_PROC_BROWSER_TEST_F()
161 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
177 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
184 EXPECT_EQ(1u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
190 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
276 ASSERT_TRUE(service->disabled_extensions()->empty()); in IN_PROC_BROWSER_TEST_F()
344 ASSERT_TRUE(service->disabled_extensions()->empty()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dmock_extension_service.h23 MOCK_CONST_METHOD0(disabled_extensions, const ExtensionList*());
Dextension_service_unittest.cc661 service_->disabled_extensions()->size(); in UpdateExtension()
671 enabled_extension_count + service_->disabled_extensions()->size(); in UpdateExtension()
1403 EXPECT_EQ(1u, service_->disabled_extensions()->size()); in TEST_F()
1404 extension = service_->disabled_extensions()->at(0); in TEST_F()
1447 EXPECT_EQ(1u, service_->disabled_extensions()->size()); in TEST_F()
1448 extension = service_->disabled_extensions()->at(0); in TEST_F()
1990 ASSERT_EQ(1u, service_->disabled_extensions()->size()); in TEST_F()
1991 const Extension* good2 = service_->disabled_extensions()->at(0); in TEST_F()
2491 EXPECT_TRUE(service_->disabled_extensions()->empty()); in TEST_F()
2499 EXPECT_FALSE(service_->disabled_extensions()->empty()); in TEST_F()
[all …]
Dextension_service.h57 virtual const ExtensionList* disabled_extensions() const = 0;
176 virtual const ExtensionList* disabled_extensions() const;
Dextension_management_api.cc143 AddExtensionInfo(result, *service()->disabled_extensions(), false); in RunImpl()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_browsertest.cc154 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
160 EXPECT_EQ(1u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
166 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
267 ASSERT_TRUE(service->disabled_extensions()->is_empty()); in IN_PROC_BROWSER_TEST_F()
351 const size_t disabled_size_before = service->disabled_extensions()->size(); in IN_PROC_BROWSER_TEST_F()
357 ASSERT_EQ(disabled_size_before + 1, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
372 ASSERT_EQ(disabled_size_before + 1, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
412 ASSERT_TRUE(service->disabled_extensions()->is_empty()); in IN_PROC_BROWSER_TEST_F()
495 ASSERT_TRUE(service->disabled_extensions()->is_empty()); in IN_PROC_BROWSER_TEST_F()
521 EXPECT_EQ(0u, service->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_disabled_ui_browsertest.cc89 if (service_->disabled_extensions()->size() != 1u) in UpdateIncreasingPermissionExtension()
92 return service_->disabled_extensions()->begin()->get(); in UpdateIncreasingPermissionExtension()
120 EXPECT_EQ(0u, service_->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
133 EXPECT_EQ(0u, service_->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
223 EXPECT_EQ(1u, service_->disabled_extensions()->size()); in IN_PROC_BROWSER_TEST_F()
Dinstalled_loader.cc258 extension_service_->disabled_extensions()->size()); in LoadAllExtensions()
410 const ExtensionSet* disabled_extensions = in LoadAllExtensions() local
411 extension_service_->disabled_extensions(); in LoadAllExtensions()
412 for (ex = disabled_extensions->begin(); in LoadAllExtensions()
413 ex != disabled_extensions->end(); ++ex) { in LoadAllExtensions()
Dunpacked_installer.cc159 const ExtensionSet* disabled_extensions = in ShowInstallPrompt() local
160 service_weak_->disabled_extensions(); in ShowInstallPrompt()
163 !disabled_extensions->Contains(installer_.extension()->id())) { in ShowInstallPrompt()
Dtest_extension_service.cc18 const ExtensionSet* TestExtensionService::disabled_extensions() const { in disabled_extensions() function in TestExtensionService
Dtest_extension_service.h27 virtual const ExtensionSet* disabled_extensions() const OVERRIDE;
Dextension_service_unittest.cc885 service_->disabled_extensions()->size(); in VerifyCrxInstall()
961 service_->disabled_extensions()->size(); in UpdateExtension()
979 enabled_extension_count + service_->disabled_extensions()->size(); in UpdateExtension()
2163 EXPECT_EQ(1u, service_->disabled_extensions()->size()); in TEST_F()
2164 extension = service_->disabled_extensions()->begin()->get(); in TEST_F()
2206 EXPECT_EQ(1u, service_->disabled_extensions()->size()); in TEST_F()
2207 extension = service_->disabled_extensions()->begin()->get(); in TEST_F()
2984 ASSERT_EQ(1u, service_->disabled_extensions()->size());\ in TEST_F()
3081 EXPECT_EQ(0u, service_->disabled_extensions()->size()); in TEST_F()
3091 EXPECT_EQ(0u, service_->disabled_extensions()->size()); in TEST_F()
[all …]
Dnavigation_observer.cc61 const Extension* extension = extension_service->disabled_extensions()-> in PromptToEnableExtensionIfNecessary()
Dextension_sync_service.cc251 extension_service_->disabled_extensions(), &extension_sync_list); in GetExtensionSyncDataList()
270 extension_service_->disabled_extensions(), &app_sync_list); in GetAppSyncDataList()
Dextension_service.h76 virtual const ExtensionSet* disabled_extensions() const = 0;
162 virtual const ExtensionSet* disabled_extensions() const OVERRIDE;
Dtab_helper.cc391 const ExtensionSet* disabled = extension_service->disabled_extensions(); in OnGetAppInstallState()
Dextension_protocols.cc517 extension_info_map_->disabled_extensions().GetByID(extension_id); in MaybeCreateJob()
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
Dautotest_private_api.cc157 const ExtensionSet* disabled_extensions = service->disabled_extensions(); in RunImpl() local
167 disabled_extensions->begin(), in RunImpl()
168 disabled_extensions->end()); in RunImpl()
/external/chromium/chrome/browser/sync/glue/
Dextension_sync.cc109 const ExtensionList* disabled_extensions = in SlurpClientData() local
110 extensions_service.disabled_extensions(); in SlurpClientData()
111 CHECK(disabled_extensions); in SlurpClientData()
113 *disabled_extensions, is_valid_and_syncable, extensions_service, in SlurpClientData()
/external/chromium_org/extensions/browser/
Dinfo_map.h29 const ExtensionSet& disabled_extensions() const { in disabled_extensions() function
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_updater_unittest.cc344 virtual const ExtensionSet* disabled_extensions() const OVERRIDE { in disabled_extensions() function in extensions::ServiceForManifestTests
368 void set_disabled_extensions(ExtensionList disabled_extensions) { in set_disabled_extensions() argument
369 for (ExtensionList::const_iterator it = disabled_extensions.begin(); in set_disabled_extensions()
370 it != disabled_extensions.end(); ++it) { in set_disabled_extensions()
1526 ExtensionList disabled_extensions; in TEST_F() local
1529 service.CreateTestExtensions(2, 1, &disabled_extensions, NULL, in TEST_F()
1532 ASSERT_EQ(1u, disabled_extensions.size()); in TEST_F()
1534 const std::string& disabled_id = disabled_extensions[0]->id(); in TEST_F()
1543 service.set_disabled_extensions(disabled_extensions); in TEST_F()
/external/chromium_org/chrome/browser/ui/app_list/search/
Dapp_search_provider.cc102 AddApps(extension_service->disabled_extensions(), extension_service); in RefreshApps()
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_controller_delegate.cc167 out_apps->InsertAll(*service->disabled_extensions()); in GetApps()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_engine_unittest.cc60 virtual const ExtensionSet* disabled_extensions() const OVERRIDE { in disabled_extensions() function in sync_file_system::drive_backend::MockExtensionService
/external/chromium/chrome/browser/ui/webui/
Dapp_launcher_handler.cc231 extensions = extensions_service_->disabled_extensions(); in FillAppDictionary()

12