Home
last modified time | relevance | path

Searched refs:extension_info_map_ (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_permissions_unittest.cc39 scoped_refptr<extensions::InfoMap> extension_info_map_; member in ExtensionWebRequestHelpersTestWithThreadsTest
64 extension_info_map_ = new extensions::InfoMap; in SetUp()
65 extension_info_map_->AddExtension(permissionless_extension_.get(), in SetUp()
69 extension_info_map_->AddExtension( in SetUp()
97 extension_info_map_->SetSigninProcess(kSigninProcessId); in TEST_F()
105 WebRequestPermissions::HideRequest(extension_info_map_.get(), &request)) in TEST_F()
114 WebRequestPermissions::HideRequest(extension_info_map_.get(), &request)) in TEST_F()
124 EXPECT_FALSE(WebRequestPermissions::HideRequest(extension_info_map_.get(), in TEST_F()
136 extension_info_map_->RegisterExtensionProcess( in TEST_F()
138 EXPECT_TRUE(WebRequestPermissions::HideRequest(extension_info_map_.get(), in TEST_F()
[all …]
Dweb_request_api_unittest.cc210 scoped_refptr<InfoMap> extension_info_map_; member in extensions::ExtensionWebRequestTest
803 scoped_refptr<InfoMap> extension_info_map_; member in extensions::ExtensionWebRequestHeaderModificationTest
/external/chromium_org/chrome/browser/net/
Dchrome_extensions_network_delegate.cc156 profile_, extension_info_map_.get(), request, callback, new_url); in OnBeforeURLRequest()
164 profile_, extension_info_map_.get(), request, callback, headers); in OnBeforeSendHeaders()
171 profile_, extension_info_map_.get(), request, headers); in OnSendHeaders()
182 extension_info_map_.get(), in OnHeadersReceived()
194 profile_, extension_info_map_.get(), request, new_location); in OnBeforeRedirect()
201 profile_, extension_info_map_.get(), request); in OnResponseStarted()
214 profile_, extension_info_map_.get(), request); in OnCompleted()
222 profile_, extension_info_map_.get(), request, started); in OnCompleted()
249 profile_, extension_info_map_.get(), request, auth_info, callback, in OnAuthRequired()
276 extension_info_map_ = extension_info_map; in set_extension_info_map()
Dchrome_extensions_network_delegate.h80 scoped_refptr<extensions::InfoMap> extension_info_map_; variable
/external/chromium_org/extensions/browser/
Dextension_protocols_unittest.cc98 extension_info_map_ = new InfoMap(); in SetUp()
116 extension_info_map_.get())); in SetProtocolHandler()
135 scoped_refptr<InfoMap> extension_info_map_; member in extensions::ExtensionProtocolTest
170 extension_info_map_->AddExtension( in TEST_F()
231 extension_info_map_->AddExtension(extension.get(), in TEST_F()
248 extension_info_map_->RemoveExtension(extension->id(), in TEST_F()
268 extension_info_map_->AddExtension(extension.get(), in TEST_F()
306 extension_info_map_->AddExtension(extension.get(), in TEST_F()
Dextension_protocols.cc372 : is_incognito_(is_incognito), extension_info_map_(extension_info_map) {} in ExtensionProtocolHandler()
382 extensions::InfoMap* const extension_info_map_; member in extensions::__anon2116ec960111::ExtensionProtocolHandler
393 extension_info_map_->extensions().GetByID(extension_id); in MaybeCreateJob()
397 request, is_incognito_, extension, extension_info_map_)) { in MaybeCreateJob()
408 extension_info_map_->disabled_extensions().GetByID(extension_id); in MaybeCreateJob()
475 extension_info_map_->extensions().GetByID(new_extension_id); in MaybeCreateJob()
505 ContentVerifier* verifier = extension_info_map_->content_verifier(); in MaybeCreateJob()
Dextension_function.h508 extension_info_map_ = extension_info_map;
511 return extension_info_map_.get();
529 scoped_refptr<const extensions::InfoMap> extension_info_map_;
Dextension_message_filter.cc29 extension_info_map_(ExtensionSystem::Get(context)->info_map()), in ExtensionMessageFilter()
205 extension_info_map_.get(), in OnExtensionRequestForIOThread()
Dextension_message_filter.h87 scoped_refptr<extensions::InfoMap> extension_info_map_; variable
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_rules_registry_unittest.cc233 scoped_refptr<InfoMap> extension_info_map_; member in extensions::WebRequestRulesRegistryTest
254 extension_info_map_ = new InfoMap; in SetUp()
255 ASSERT_TRUE(extension_info_map_.get()); in SetUp()
256 extension_info_map_->AddExtension(extension_.get(), in SetUp()
260 extension_info_map_->AddExtension(extension2_.get(), in SetUp()
269 new TestWebRequestRulesRegistry(extension_info_map_)); in TEST_F()
310 new TestWebRequestRulesRegistry(extension_info_map_)); in TEST_F()
358 new TestWebRequestRulesRegistry(extension_info_map_)); in TEST_F()
410 new TestWebRequestRulesRegistry(extension_info_map_)); in TEST_F()
453 new TestWebRequestRulesRegistry(extension_info_map_)); in TEST_F()
[all …]
Dwebrequest_action_unittest.cc100 scoped_refptr<InfoMap> extension_info_map_; member in extensions::WebRequestActionWithThreadsTest
125 extension_info_map_ = new InfoMap; in SetUp()
126 ASSERT_TRUE(extension_info_map_.get()); in SetUp()
127 extension_info_map_->AddExtension( in SetUp()
132 extension_info_map_->AddExtension(extension_all_urls_.get(), in SetUp()
150 WebRequestAction::ApplyInfo apply_info = { extension_info_map_.get(), in ActionWorksOnRequest()
Dwebrequest_rules_registry.h117 extension_info_map_ = extension_info_map; in SetExtensionInfoMapForTesting()
187 scoped_refptr<InfoMap> extension_info_map_; variable
Dwebrequest_rules_registry.cc51 extension_info_map_ = ExtensionSystem::Get(profile)->info_map(); in WebRequestRulesRegistry()
175 extension_info_map_->extensions().GetByID(extension_id); in AddRulesImpl()
326 return extension_info_map_->GetInstallTime(extension_id); in GetExtensionInstallationTime()
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_extension_message_filter.cc74 extension_info_map_( in ChromeExtensionMessageFilter()
135 *allowed = extension_info_map_->SecurityOriginHasAPIPermission( in OnCanTriggerClipboardRead()
144 extension_info_map_->SecurityOriginHasAPIPermission( in OnCanTriggerClipboardWrite()
250 extension_info_map_->extensions().GetByID(extension_id); in OnGetExtMessageBundle()
Dchrome_extension_message_filter.h117 scoped_refptr<extensions::InfoMap> extension_info_map_; variable
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
Dcontent_rules_registry.cc33 extension_info_map_ = ExtensionSystem::Get(profile)->info_map(); in ContentRulesRegistry()
315 if (!extension_info_map_.get()) // May be NULL during testing. in GetExtensionInstallationTime()
318 return extension_info_map_->GetInstallTime(extension_id); in GetExtensionInstallationTime()
Dcontent_rules_registry.h143 scoped_refptr<InfoMap> extension_info_map_; variable
/external/chromium_org/chrome/browser/extensions/
Dextension_system_impl.cc360 if (!extension_info_map_.get()) in info_map()
361 extension_info_map_ = new InfoMap(); in info_map()
362 return extension_info_map_.get(); in info_map()
Dextension_system_impl.h123 scoped_refptr<InfoMap> extension_info_map_; variable
/external/chromium_org/chrome/browser/profiles/
Dprofile_io_data.cc732 return extension_info_map_.get(); in GetExtensionInfoMap()
986 extension_info_map_ = profile_params_->extension_info_map; in Init()
1046 DCHECK(extension_info_map_.get()); in SetUpJobFactoryDefaults()
1052 extension_info_map_.get())); in SetUpJobFactoryDefaults()
Dprofile_io_data.h547 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; variable