Home
last modified time | relevance | path

Searched refs:http_url (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/extensions/browser/api/declarative_webrequest/
Dwebrequest_condition_unittest.cc82 const GURL http_url("http://www.example.com"); in TEST() local
84 http_url, net::DEFAULT_PRIORITY, NULL, NULL)); in TEST()
87 request_data.url_match_ids = matcher.MatchURL(http_url); in TEST()
103 request_data.url_match_ids = matcher.MatchURL(http_url); in TEST()
142 const GURL http_url("http://www.example.com"); in TEST() local
145 http_url, net::DEFAULT_PRIORITY, NULL, NULL)); in TEST()
148 request_data.url_match_ids = matcher.MatchURL(http_url); in TEST()
281 GURL http_url("http://www.example.com"); in TEST() local
284 http_url, net::DEFAULT_PRIORITY, NULL, NULL)); in TEST()
287 request_data.url_match_ids = matcher.MatchURL(http_url); in TEST()
[all …]
/external/chromium_org/content/browser/
Dsite_per_process_browsertest.cc214 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
215 NavigateFrameToURL(child, http_url); in IN_PROC_BROWSER_TEST_F()
216 EXPECT_EQ(http_url, observer.navigation_url()); in IN_PROC_BROWSER_TEST_F()
384 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
406 "server-redirect?" + http_url.spec())); in IN_PROC_BROWSER_TEST_F()
409 EXPECT_EQ(observer.navigation_url(), http_url); in IN_PROC_BROWSER_TEST_F()
468 EXPECT_EQ(observer.navigation_url(), http_url); in IN_PROC_BROWSER_TEST_F()
476 "client-redirect?" + http_url.spec())); in IN_PROC_BROWSER_TEST_F()
491 EXPECT_EQ(observer.navigation_url(), http_url); in IN_PROC_BROWSER_TEST_F()
510 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_tab_helper_unittest.cc479 GURL http_url(kHttpUrl); in TEST_F() local
482 main_render_frame1(), http_url, false, false); in TEST_F()
513 GURL http_url(kHttpUrl); in TEST_F() local
514 EXPECT_CALL(mock_reloader(), OnRedirect(http_url.SchemeIsSecure())).Times(1); in TEST_F()
515 OnRedirect(content::RESOURCE_TYPE_MAIN_FRAME, http_url, in TEST_F()
520 main_render_frame1(), http_url, ui::PAGE_TRANSITION_LINK); in TEST_F()
525 GURL http_url(kHttpUrl); in TEST_F() local
527 OnLoadStart(http_url.SchemeIsSecure())).Times(1); in TEST_F()
529 main_render_frame1(), http_url, false, false); in TEST_F()
531 EXPECT_CALL(mock_reloader(), OnRedirect(http_url.SchemeIsSecure())).Times(1); in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/permissions/
Dpermissions_data_unittest.cc353 : http_url("http://www.google.com"), in ExtensionScriptAndCaptureVisibleTest()
363 urls_.insert(http_url); in ExtensionScriptAndCaptureVisibleTest()
451 const GURL http_url; member in extensions::ExtensionScriptAndCaptureVisibleTest
475 EXPECT_TRUE(Allowed(extension.get(), http_url)); in TEST_F()
485 EXPECT_TRUE(AllowedScript(extension.get(), http_url, http_url_with_path)); in TEST_F()
487 EXPECT_TRUE(AllowedScript(extension.get(), http_url, within_extension_url)); in TEST_F()
489 EXPECT_TRUE(BlockedScript(extension.get(), http_url, extension_url)); in TEST_F()
499 EXPECT_TRUE(ScriptOnly(extension.get(), http_url, http_url)); in TEST_F()
543 EXPECT_TRUE(Allowed(extension.get(), http_url)); in TEST_F()
554 EXPECT_TRUE(ScriptOnly(extension.get(), http_url, http_url)); in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php223 protected $http_url; variable in OAuthRequest
229 function __construct($http_method, $http_url, $parameters=NULL) { argument
231 …$parameters = array_merge( OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $para…
234 $this->http_url = $http_url;
241 public static function from_request($http_method=NULL, $http_url=NULL, $parameters=NULL) { argument
245 $http_url = ($http_url) ? $http_url : $scheme .
287 return new OAuthRequest($http_method, $http_url, $parameters);
293 …public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parame… argument
304 return new OAuthRequest($http_method, $http_url, $parameters);
382 $parts = parse_url($this->http_url);
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_unittest.cc162 GURL http_url = GURL("http://www.domain.com/index.html"); in TEST_F() local
163 drop_data.url = http_url; in TEST_F()
164 drop_data.html_base_url = http_url; in TEST_F()
166 EXPECT_EQ(http_url, delegate_view.drag_url()); in TEST_F()
167 EXPECT_EQ(http_url, delegate_view.html_base_url()); in TEST_F()
178 drop_data.html_base_url = http_url; in TEST_F()
181 EXPECT_EQ(http_url, delegate_view.html_base_url()); in TEST_F()
/external/chromium_org/chrome/renderer/
Dcontent_settings_observer_unittest.cc53 GURL http_url = in TEST_F() local
56 WebSecurityOrigin::create(http_url), in TEST_F()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
D__init__.py417 def from_request(cls, http_method, http_url, headers=None, parameters=None, argument
443 param_str = urlparse.urlparse(http_url)[4] # query
448 return cls(http_method, http_url, parameters)
454 http_method=HTTP_METHOD, http_url=None, parameters=None): argument
473 return Request(http_method, http_url, parameters)
477 http_method=HTTP_METHOD, http_url=None, parameters=None): argument
487 return cls(http_method, http_url, parameters)
556 token=self.token, http_method=method, http_url=uri,
/external/chromium_org/third_party/skia/gm/rebaseline_server/
Dimagepairset.py231 http_url = 'http://storage.cloud.google.com/' + bucket
233 http_url += '/' + path
234 return http_url
/external/chromium_org/content/browser/frame_host/
Dframe_tree_browsertest.cc194 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
195 NavigateFrameToURL(root->child_at(0), http_url); in IN_PROC_BROWSER_TEST_F()
236 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
237 NavigateFrameToURL(root->child_at(0), http_url); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/browser/accessibility/
Dsite_per_process_accessibility_browsertest.cc69 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
70 NavigateFrameToURL(child, http_url); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/child/
Dsite_isolation_policy_unittest.cc22 GURL http_url("http://google.com"); in TEST() local
29 EXPECT_TRUE(SiteIsolationPolicy::IsBlockableScheme(http_url)); in TEST()
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_browsertest.cc117 GURL http_url = test_server()->GetURL("files/setcookie.html"); in IN_PROC_BROWSER_TEST_F() local
118 PreBasic(http_url); in IN_PROC_BROWSER_TEST_F()
123 GURL http_url = test_server()->GetURL("files/setcookie.html"); in IN_PROC_BROWSER_TEST_F() local
124 Basic(http_url); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ssl/
Dssl_browser_tests.cc295 GURL http_url = http_server.GetURL("files/ssl/google.html"); in GetTopFramePath() local
302 make_pair("REPLACE_WITH_HTTP_PAGE", http_url.spec())); in GetTopFramePath()
1363 GURL http_url = test_server()->GetURL("server-redirect?"); in IN_PROC_BROWSER_TEST_F() local
1368 GURL(http_url.spec() + good_https_url.spec())); in IN_PROC_BROWSER_TEST_F()
1386 GURL http_url = test_server()->GetURL("server-redirect?"); in IN_PROC_BROWSER_TEST_F() local
1390 GURL(http_url.spec() + bad_https_url.spec())); in IN_PROC_BROWSER_TEST_F()
1407 GURL http_url = test_server()->GetURL("files/ssl/google.html"); in IN_PROC_BROWSER_TEST_F() local
1410 GURL(https_url.spec() + http_url.spec())); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sessions/
Dtab_restore_browsertest.cc604 const GURL http_url(embedded_test_server()->GetURL("/title1.html")); in IN_PROC_BROWSER_TEST_F() local
612 ui_test_utils::NavigateToURL(browser(), http_url); in IN_PROC_BROWSER_TEST_F()
621 ASSERT_EQ(http_url, tab->GetURL()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_rules_registry_unittest.cc284 GURL http_url("http://www.example.com"); in TEST_F() local
287 http_url, net::DEFAULT_PRIORITY, NULL, NULL)); in TEST_F()
598 GURL http_url("http://www.example.com"); in TEST_F() local
601 http_url, net::DEFAULT_PRIORITY, NULL, NULL)); in TEST_F()
/external/chromium_org/chrome/browser/ui/
Dbrowser_browsertest.cc932 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
936 ui_test_utils::NavigateToURL(browser(), http_url); in IN_PROC_BROWSER_TEST_F()
1021 GURL http_url(test_server()->GetURL("files/title1.html")); in IN_PROC_BROWSER_TEST_F() local
1025 ui_test_utils::NavigateToURL(browser(), http_url); in IN_PROC_BROWSER_TEST_F()
1121 GURL http_url(test_server()->GetURL(std::string())); in IN_PROC_BROWSER_TEST_F() local
1122 ASSERT_TRUE(http_url.SchemeIs(url::kHttpScheme)); in IN_PROC_BROWSER_TEST_F()
1123 ui_test_utils::NavigateToURL(browser(), http_url); in IN_PROC_BROWSER_TEST_F()
1181 GURL http_url(test_server()->GetURL(std::string())); in IN_PROC_BROWSER_TEST_F() local
1182 ASSERT_TRUE(http_url.SchemeIs(url::kHttpScheme)); in IN_PROC_BROWSER_TEST_F()
1187 browser(), http_url, ui::PAGE_TRANSITION_TYPED); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/password_manager/
Dpassword_manager_browsertest.cc1163 GURL http_url(embedded_test_server()->GetURL(path)); in IN_PROC_BROWSER_TEST_F() local
1164 ASSERT_TRUE(http_url.SchemeIs(url::kHttpScheme)); in IN_PROC_BROWSER_TEST_F()
1169 ui_test_utils::NavigateToURL(browser(), http_url); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/net/cookies/
Dcookie_monster_unittest.cc1258 GURL http_url("http://host/path"); in TEST_F() local
1260 EXPECT_TRUE(SetCookie(cm.get(), http_url, "x=1")); in TEST_F()
1263 EXPECT_FALSE(SetCookie(cm_foo.get(), http_url, "x=1")); in TEST_F()
/external/chromium_org/net/http/
Dhttp_network_transaction_unittest.cc11318 const std::string http_url = "http://www.google.com:443/"; in TEST_P() local
11385 request2.url = GURL(http_url); in TEST_P()
11399 const std::string http_url = "http://www.google.com:443/"; in TEST_P() local
11413 spdy_util_.is_spdy2() ? http_url.c_str() : "/"; in TEST_P()
11488 request2.url = GURL(http_url); in TEST_P()
11512 const std::string http_url = "http://www.google.com:443/"; in TEST_P() local
11519 spdy_util_.ConstructSpdyGet(http_url.c_str(), false, 3, MEDIUM)); in TEST_P()
11565 request2.url = GURL(http_url); in TEST_P()