Home
last modified time | relevance | path

Searched refs:GetOrigin (Results 1 – 25 of 182) sorted by relevance

12345678

/external/chromium/chrome/browser/
Dbrowsing_data_appcache_helper_unittest.cc55 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin())); in TEST_F()
56 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size()); in TEST_F()
57 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url); in TEST_F()
59 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin())); in TEST_F()
60 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size()); in TEST_F()
62 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url); in TEST_F()
63 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url); in TEST_F()
87 EXPECT_TRUE(ContainsKey(collection, manifest.GetOrigin())); in TEST_F()
88 ASSERT_EQ(1u, collection[manifest.GetOrigin()].size()); in TEST_F()
89 EXPECT_EQ(manifest, collection[manifest.GetOrigin()].at(0).manifest_url); in TEST_F()
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_appcache_helper_unittest.cc59 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin())); in TEST_F()
60 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size()); in TEST_F()
61 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url); in TEST_F()
63 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin())); in TEST_F()
64 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size()); in TEST_F()
66 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url); in TEST_F()
67 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url); in TEST_F()
91 EXPECT_TRUE(ContainsKey(collection, manifest.GetOrigin())); in TEST_F()
92 ASSERT_EQ(1u, collection[manifest.GetOrigin()].size()); in TEST_F()
93 EXPECT_EQ(manifest, collection[manifest.GetOrigin()].at(0).manifest_url); in TEST_F()
Dbrowsing_data_helper.cc54 if (BrowsingDataHelper::HasExtensionScheme(origin.GetOrigin()) && in DoesOriginMatchMask()
59 if (!policy->IsStorageProtected(origin.GetOrigin()) && in DoesOriginMatchMask()
60 BrowsingDataHelper::HasWebScheme(origin.GetOrigin()) && in DoesOriginMatchMask()
65 if (policy->IsStorageProtected(origin.GetOrigin()) && in DoesOriginMatchMask()
66 BrowsingDataHelper::HasWebScheme(origin.GetOrigin()) && in DoesOriginMatchMask()
/external/chromium_org/content/browser/appcache/
Dchrome_appcache_service_unittest.cc104 mock_policy->AddProtected(kProtectedManifestURL.GetOrigin()); in CreateAppCacheService()
105 mock_policy->AddSessionOnly(kSessionOnlyManifestURL.GetOrigin()); in CreateAppCacheService()
143 ASSERT_TRUE(origins.find(kProtectedManifestURL.GetOrigin()) != origins.end()); in InsertDataIntoAppCache()
144 ASSERT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) != origins.end()); in InsertDataIntoAppCache()
145 ASSERT_TRUE(origins.find(kSessionOnlyManifestURL.GetOrigin()) != in InsertDataIntoAppCache()
176 EXPECT_TRUE(origins.find(kProtectedManifestURL.GetOrigin()) != origins.end()); in TEST_F()
177 EXPECT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) != origins.end()); in TEST_F()
178 EXPECT_TRUE(origins.find(kSessionOnlyManifestURL.GetOrigin()) == in TEST_F()
216 EXPECT_TRUE(origins.find(kProtectedManifestURL.GetOrigin()) != origins.end()); in TEST_F()
217 EXPECT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) != origins.end()); in TEST_F()
[all …]
/external/chromium_org/webkit/browser/appcache/
Dmanifest_parser.cc247 if (manifest_url.GetOrigin() != namespace_url.GetOrigin()) in ParseManifest()
292 if (manifest_url.GetOrigin() != target_url.GetOrigin()) in ParseManifest()
325 if (manifest_url.GetOrigin() != namespace_url.GetOrigin()) { in ParseManifest()
351 if (manifest_url.GetOrigin() != fallback_url.GetOrigin()) { in ParseManifest()
Dappcache_working_set.cc51 groups_by_origin_[url.GetOrigin()].insert(GroupMap::value_type(url, group)); in AddGroup()
58 GURL origin_url = url.GetOrigin(); in RemoveGroup()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_screen_position_client.cc17 gfx::Point GetOrigin(const aura::Window* root_window) { in GetOrigin() function
50 gfx::Point origin = GetOrigin(root_window); in ConvertPointToScreen()
57 gfx::Point origin = GetOrigin(root_window); in ConvertPointFromScreen()
83 gfx::Point host_origin = GetOrigin(root); in SetBounds()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map_unittest.cc136 EXPECT_EQ(1U, content_settings.count(requester_0.GetOrigin())); in TEST_F()
138 content_settings[requester_0.GetOrigin()]); in TEST_F()
139 EXPECT_EQ(CONTENT_SETTING_ALLOW, one_origin_settings[embedder_0.GetOrigin()]); in TEST_F()
142 EXPECT_EQ(1U, content_settings.count(requester_1.GetOrigin())); in TEST_F()
143 one_origin_settings = content_settings[requester_1.GetOrigin()]; in TEST_F()
144 EXPECT_EQ(CONTENT_SETTING_ALLOW, one_origin_settings[embedder_0.GetOrigin()]); in TEST_F()
207 EXPECT_EQ(1U, content_settings[requester_0.GetOrigin()].size()); in TEST_F()
208 EXPECT_EQ(1U, content_settings[requester_1.GetOrigin()].size()); in TEST_F()
Dgeolocation_content_settings_map.cc83 GURL requesting_origin(requesting_url.GetOrigin()); in GetContentSetting()
84 GURL embedding_origin(embedding_url.GetOrigin()); in GetContentSetting()
155 GURL requesting_origin(requesting_url.GetOrigin()); in SetContentSetting()
156 GURL embedding_origin(embedding_url.GetOrigin()); in SetContentSetting()
/external/chromium_org/chrome/browser/translate/
Dtranslate_script_unittest.cc59 EXPECT_EQ(expected_url.GetOrigin().spec(), url.GetOrigin().spec()); in TEST_F()
113 EXPECT_EQ(expected_url.GetOrigin().spec(), url.GetOrigin().spec()); in TEST_F()
/external/chromium_org/chrome/browser/search/
Diframe_source.cc52 bool IframeSource::GetOrigin( in GetOrigin() function in IframeSource
64 *origin = contents->GetURL().GetOrigin().spec(); in GetOrigin()
84 if (!GetOrigin(render_process_id, render_view_id, &origin)) { in SendJSWithOrigin()
/external/chromium/chrome/common/
Dweb_apps.cc178 definition_url.GetOrigin() != frame_url.GetOrigin()) { in ParseWebAppFromWebDocument()
250 app_url.GetOrigin() != web_app->manifest_url.GetOrigin()) { in ParseWebAppFromDefinitionFile()
275 url.GetOrigin() != web_app->manifest_url.GetOrigin()) { in ParseWebAppFromDefinitionFile()
/external/chromium_org/net/android/
Dgurl_utils.cc13 jstring GetOrigin(JNIEnv* env, jclass clazz, jstring url) { in GetOrigin() function
17 host.GetOrigin().spec()).Release(); in GetOrigin()
/external/chromium_org/webkit/browser/database/
Ddatabase_util_unittest.cc59 const GURL kFileOrigin(GURL("file:///").GetOrigin()); in TEST()
60 const GURL kHttpOrigin(GURL("http://bar/").GetOrigin()); in TEST()
/external/chromium/chrome/browser/importer/
Dnss_decryptor.cc145 form.signon_realm = form.origin.GetOrigin().spec(); in ParseSignons()
196 form.signon_realm = form.origin.GetOrigin().spec(); in ParseSignons()
254 form.signon_realm = form.origin.GetOrigin().spec(); in ReadAndParseSignons()
285 form.signon_realm = form.origin.GetOrigin().spec(); in ReadAndParseSignons()
/external/chromium_org/chrome/utility/importer/
Dnss_decryptor.cc146 form.signon_realm = form.origin.GetOrigin().spec(); in ParseSignons()
197 form.signon_realm = form.origin.GetOrigin().spec(); in ParseSignons()
255 form.signon_realm = form.origin.GetOrigin().spec(); in ReadAndParseSignons()
286 form.signon_realm = form.origin.GetOrigin().spec(); in ReadAndParseSignons()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_prepopulate_data_unittest.cc152 GURL origin = engine_url.GetOrigin(); in TEST_F()
166 found_url.get(), search_terms_data).GetOrigin(), in TEST_F()
167 it->GetOrigin()); in TEST_F()
Dsearch_provider_install_state_message_filter.cc55 GURL requested_origin = requested_host.GetOrigin(); in GetSearchProviderInstallState()
58 if (page_location.GetOrigin() != requested_origin) in GetSearchProviderInstallState()
/external/chromium_org/net/cookies/
Dcanonical_cookie_unittest.cc52 EXPECT_EQ(url.GetOrigin().spec(), cookie.Source()); in TEST()
70 EXPECT_EQ(url.GetOrigin().spec(), cookie.Source()); in TEST()
87 EXPECT_EQ(url.GetOrigin().spec(), cookie->Source()); in TEST()
96 EXPECT_EQ(url2.GetOrigin().spec(), cookie->Source()); in TEST()
126 EXPECT_EQ(url.GetOrigin().spec(), cookie->Source()); in TEST()
136 EXPECT_EQ(url.GetOrigin().spec(), cookie->Source()); in TEST()
/external/chromium_org/chrome/browser/search_engines/
Dsearch_provider_install_state_message_filter.cc57 GURL requested_origin = requested_host.GetOrigin(); in GetSearchProviderInstallState()
60 if (page_location.GetOrigin() != requested_origin) in GetSearchProviderInstallState()
/external/chromium_org/chrome/browser/geolocation/
Dchrome_geolocation_permission_context.cc48 GURL requesting_frame_origin = requesting_frame.GetOrigin(); in RequestGeolocationPermission()
98 GURL embedder = web_contents->GetLastCommittedURL().GetOrigin(); in RequestGeolocationPermission()
173 content_settings->OnGeolocationPermissionSet(requesting_frame.GetOrigin(), in NotifyPermissionSet()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_file_system_browser_host.cc249 pp_instance()).GetOrigin(); in OpenFileSystem()
291 browser_ppapi_host_->GetDocumentURLForInstance(pp_instance()).GetOrigin(), in OpenIsolatedFileSystem()
318 pp_instance()).GetOrigin(); in OpenPluginPrivateFileSystem()
371 browser_ppapi_host_->GetDocumentURLForInstance(pp_instance()).GetOrigin(), in OnHostMsgInitIsolatedFileSystem()
424 root_url_.GetOrigin(), in ShouldCreateQuotaReservation()
436 root_url_.GetOrigin(), in CreateQuotaReservation()
/external/chromium_org/chrome/browser/signin/
Dsignin_header_helper.cc76 GURL origin(url.GetOrigin()); in AppendMirrorRequestHeaderIfPossible()
109 if (gaia::IsGaiaSignonRealm(request->url().GetOrigin()) && in ProcessMirrorResponseHeaderIfExists()
/external/chromium_org/chrome/renderer/extensions/
Dresource_request_policy.cc78 bool is_own_resource = frame_url.GetOrigin() == extension->url() || in CanRequestResource()
79 page_url.GetOrigin() == extension->url(); in CanRequestResource()
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_service_url_unittest.cc97 EXPECT_EQ(fake_service_url.GetOrigin(), flag_get_items_url.GetOrigin()); in TEST()

12345678