Home
last modified time | relevance | path

Searched refs:requesting_origin (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map.cc83 GURL requesting_origin(requesting_url.GetOrigin()); in GetContentSetting() local
85 DCHECK(requesting_origin.is_valid() && embedding_origin.is_valid()); in GetContentSetting()
95 requesting_origin.spec(), &requesting_origin_settings)) { in GetContentSetting()
101 if (requesting_origin != embedding_origin && in GetContentSetting()
155 GURL requesting_origin(requesting_url.GetOrigin()); in SetContentSetting() local
157 DCHECK(requesting_origin.is_valid()); in SetContentSetting()
167 requesting_origin.spec(), &requesting_origin_settings_dictionary); in SetContentSetting()
174 requesting_origin.spec(), NULL); in SetContentSetting()
180 requesting_origin.spec(), requesting_origin_settings_dictionary); in SetContentSetting()
Dgeolocation_settings_state.cc24 const GURL& requesting_origin, bool allowed) { in OnGeolocationPermissionSet() argument
25 state_map_[requesting_origin] = in OnGeolocationPermissionSet()
Dgeolocation_settings_state.h30 void OnGeolocationPermissionSet(const GURL& requesting_origin, bool allowed);
Dgeolocation_browsertest.cc326 GURL requesting_origin = requesting_url.GetOrigin(); in SetInfobarResponse() local
327 EXPECT_EQ(1U, settings_state.state_map().count(requesting_origin)); in SetInfobarResponse()
331 settings_state.state_map().find(requesting_origin)->second); in SetInfobarResponse()
/external/chromium_org/chrome/browser/content_settings/
Dtab_specific_content_settings.cc434 const GURL& requesting_origin, in OnGeolocationPermissionSet() argument
436 geolocation_usages_state_.OnPermissionSet(requesting_origin, allowed); in OnGeolocationPermissionSet()
445 const GURL& requesting_origin, in OnProtectedMediaIdentifierPermissionSet() argument
525 const GURL& requesting_origin) { in OnMIDISysExAccessed() argument
526 midi_usages_state_.OnPermissionSet(requesting_origin, true); in OnMIDISysExAccessed()
531 const GURL& requesting_origin) { in OnMIDISysExAccessBlocked() argument
532 midi_usages_state_.OnPermissionSet(requesting_origin, false); in OnMIDISysExAccessBlocked()
Dcontent_settings_usages_state.cc29 const GURL& requesting_origin, bool allowed) { in OnPermissionSet() argument
30 state_map_[requesting_origin] = in OnPermissionSet()
Dcontent_settings_usages_state.h35 void OnPermissionSet(const GURL& requesting_origin, bool allowed);
Dtab_specific_content_settings.h336 void OnMIDISysExAccessBlocked(const GURL& requesting_origin);
/external/chromium/chrome/browser/tab_contents/
Dtab_specific_content_settings.cc209 const GURL& requesting_origin, in OnGeolocationPermissionSet() argument
211 geolocation_settings_state_.OnGeolocationPermissionSet(requesting_origin, in OnGeolocationPermissionSet()
/external/chromium_org/chrome/browser/geolocation/
Dgeolocation_browsertest.cc420 GURL requesting_origin(requesting_url.GetOrigin()); in SetInfoBarResponse() local
421 EXPECT_EQ(1U, usages_state.state_map().count(requesting_origin)); in SetInfoBarResponse()
425 usages_state.state_map().find(requesting_origin)->second); in SetInfoBarResponse()