Home
last modified time | relevance | path

Searched refs:info_map (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/extensions/browser/
Dinfo_map_unittest.cc55 scoped_refptr<InfoMap> info_map(new InfoMap()); in TEST_F() local
66 info_map->AddExtension(extension1.get(), base::Time(), false, false); in TEST_F()
67 info_map->AddExtension(extension2.get(), base::Time(), false, false); in TEST_F()
68 info_map->AddExtension(extension3.get(), base::Time(), false, false); in TEST_F()
76 info_map->RemoveExtension( in TEST_F()
81 info_map = NULL; in TEST_F()
87 scoped_refptr<InfoMap> info_map(new InfoMap()); in TEST_F() local
92 info_map->AddExtension(extension1.get(), base::Time(), false, false); in TEST_F()
93 info_map->AddExtension(extension2.get(), base::Time(), false, false); in TEST_F()
95 EXPECT_EQ(2u, info_map->extensions().size()); in TEST_F()
[all …]
Dmock_extension_system.cc53 InfoMap* MockExtensionSystem::info_map() { in info_map() function in extensions::MockExtensionSystem
Dextension_system.h89 virtual InfoMap* info_map() = 0;
Dmock_extension_system.h37 virtual InfoMap* info_map() OVERRIDE;
/external/chromium_org/chrome/browser/extensions/
Dchrome_info_map_unittest.cc62 scoped_refptr<InfoMap> info_map(new InfoMap()); in TEST_F() local
73 info_map->AddExtension(app.get(), base::Time(), false, false); in TEST_F()
74 info_map->AddExtension(extension.get(), base::Time(), false, false); in TEST_F()
78 const Extension* match = info_map->extensions().GetExtensionOrAppByURL( in TEST_F()
83 match = info_map->extensions().GetExtensionOrAppByURL(app_url); in TEST_F()
92 match = info_map->extensions().GetExtensionOrAppByURL( in TEST_F()
102 match = info_map->extensions().GetExtensionOrAppByURL(evil_url); in TEST_F()
107 scoped_refptr<InfoMap> info_map(new InfoMap()); in TEST_F() local
110 info_map->AddExtension(app.get(), base::Time(), false, false); in TEST_F()
112 EXPECT_FALSE(info_map->AreNotificationsDisabled(app->id())); in TEST_F()
[all …]
Dextension_system_impl.cc346 info_map()->SetContentVerifier(content_verifier_.get()); in Init()
450 InfoMap* ExtensionSystemImpl::Shared::info_map() { in info_map() function in extensions::ExtensionSystemImpl::Shared
538 shared_->info_map(); in InitForRegularProfile()
573 InfoMap* ExtensionSystemImpl::info_map() { return shared_->info_map(); } in info_map() function in extensions::ExtensionSystemImpl
646 base::Bind(&InfoMap::AddExtension, info_map(), in RegisterExtensionWithRequestContexts()
657 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); in UnregisterExtensionWithRequestContexts()
Dextension_system_impl.h49 virtual InfoMap* info_map() OVERRIDE; // shared
99 InfoMap* info_map();
Dchrome_content_browser_client_extensions_part.cc391 ExtensionSystem::Get(profile)->info_map(), in SetSigninProcess()
426 ExtensionSystem::Get(profile)->info_map(), in SiteInstanceGotProcess()
453 ExtensionSystem::Get(profile)->info_map(), in SiteInstanceDeleting()
Dtest_extension_system.h73 virtual InfoMap* info_map() OVERRIDE;
Dtest_extension_system.cc151 InfoMap* TestExtensionSystem::info_map() { return info_map_.get(); } in info_map() function in extensions::TestExtensionSystem
/external/chromium_org/tools/gn/
Dvariables.cc973 info_map[k##var] = VariableInfo(k##var##_HelpShort, k##var##_Help);
976 static VariableInfoMap info_map; in GetBuiltinVariables() local
977 if (info_map.empty()) { in GetBuiltinVariables()
991 return info_map; in GetBuiltinVariables()
995 static VariableInfoMap info_map; in GetTargetVariables() local
996 if (info_map.empty()) { in GetTargetVariables()
1030 return info_map; in GetTargetVariables()
Dcommands.cc31 static CommandInfoMap info_map; in GetCommands() local
32 if (info_map.empty()) { in GetCommands()
34 info_map[k##cmd] = CommandInfo(k##cmd##_HelpShort, \ in GetCommands()
49 return info_map; in GetCommands()
/external/chromium_org/chrome/browser/history/
Ddownload_database.cc360 std::map<uint32, DownloadRow*> info_map; in QueryDownloads() local
422 DCHECK(!ContainsKey(info_map, info->id)); in QueryDownloads()
424 info_map[id] = info.release(); in QueryDownloads()
450 DCHECK(ContainsKey(info_map, id)); in QueryDownloads()
451 if (!ContainsKey(info_map, id)) in QueryDownloads()
456 int current_chain_size = info_map[id]->url_chain.size(); in QueryDownloads()
457 std::vector<GURL>* url_chain(&info_map[id]->url_chain); in QueryDownloads()
471 it = info_map.begin(); it != info_map.end(); ++it) { in QueryDownloads()
/external/chromium_org/extensions/shell/browser/
Dshell_nacl_browser_delegate.cc148 scoped_refptr<InfoMap> info_map = in MapUrlToLocalFilePath() local
149 ExtensionSystem::Get(browser_context_)->info_map(); in MapUrlToLocalFilePath()
152 info_map->extensions().GetExtensionOrAppByURL(file_url); in MapUrlToLocalFilePath()
Dshell_content_browser_client.cc111 browser_main_parts_->extension_system()->info_map(); in CreateRequestContext()
159 browser_main_parts_->extension_system()->info_map(), in SiteInstanceGotProcess()
181 browser_main_parts_->extension_system()->info_map(), in SiteInstanceDeleting()
Dshell_extension_system.cc130 InfoMap* ShellExtensionSystem::info_map() { in info_map() function in extensions::ShellExtensionSystem
169 info_map(), in RegisterExtensionWithRequestContexts()
Dshell_extension_system.h61 virtual InfoMap* info_map() OVERRIDE;
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_impl.cc1862 void LoadInfoUpdateCallback(const LoadInfoMap& info_map) { in LoadInfoUpdateCallback() argument
1864 for (i = info_map.begin(); i != info_map.end(); ++i) { in LoadInfoUpdateCallback()
1879 LoadInfoMap info_map; in UpdateLoadStates() local
1916 LoadInfoMap::iterator existing = info_map.find(id); in UpdateLoadStates()
1917 if (existing != info_map.end()) { in UpdateLoadStates()
1923 LoadInfo& load_info = info_map[id]; in UpdateLoadStates()
1930 if (info_map.empty()) in UpdateLoadStates()
1935 base::Bind(&LoadInfoUpdateCallback, info_map)); in UpdateLoadStates()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc317 BitmapGlyphInfoMap info_map; in InitializeBitmapBuilder() local
342 info_map[*gid] = info; in InitializeBitmapBuilder()
346 if (!info_map.empty()) { in InitializeBitmapBuilder()
347 loca_list.push_back(info_map); in InitializeBitmapBuilder()
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc317 BitmapGlyphInfoMap info_map; in InitializeBitmapBuilder() local
342 info_map[*gid] = info; in InitializeBitmapBuilder()
346 if (!info_map.empty()) { in InitializeBitmapBuilder()
347 loca_list.push_back(info_map); in InitializeBitmapBuilder()
/external/chromium_org/chrome/browser/notifications/
Ddesktop_notification_service.cc187 extensions::ExtensionSystem::Get(profile_)->info_map(); in DisplayNameForOriginInProcessId()
349 extensions::ExtensionSystem::Get(profile_)->info_map(); in FirePermissionLevelChangedEvent()
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-lock.c751 static bool info_threads, info_map; variable
789 else if (info_map) in dump_info()
925 OPT_BOOLEAN('m', "map", &info_map, in cmd_lock()
/external/chromium_org/chrome/browser/nacl_host/
Dnacl_browser_delegate_impl.cc230 extensions::ExtensionSystem::Get(profile)->info_map(); in GetExtensionInfoMap()
/external/llvm/utils/llvm-build/llvmbuild/
Dmain.py745 info = info_map.get(name)
764 info_map = dict((ci.name, ci) for ci in project.component_infos)
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_extension_message_filter.cc74 extensions::ExtensionSystem::Get(profile)->info_map()) { in ChromeExtensionMessageFilter()

12