/external/chromium_org/content/common/net/ |
url_fetcher.cc | 5 #include "content/public/common/url_fetcher.h" 9 #include "net/url_request/url_fetcher.h" 23 void AssociateURLFetcherWithRenderView(net::URLFetcher* url_fetcher, 27 url_fetcher->SetFirstPartyForCookies(first_party_for_cookies); 28 url_fetcher->SetURLRequestUserData(
|
/external/chromium_org/google_apis/gaia/ |
oauth2_access_token_fetcher_unittest.cc | 17 #include "net/url_request/url_fetcher.h" 95 TestURLFetcher* url_fetcher = new TestURLFetcher(0, url, &fetcher_); local 98 url_fetcher->set_status(URLRequestStatus(status, 0)); 101 url_fetcher->set_response_code(response_code); 104 url_fetcher->SetResponseString(body); 107 .WillOnce(Return(url_fetcher)); 108 return url_fetcher; 121 TestURLFetcher* url_fetcher = SetupGetAccessToken(false, 0, std::string()); local 124 fetcher_.OnURLFetchComplete(url_fetcher); 129 TestURLFetcher* url_fetcher local 137 TestURLFetcher* url_fetcher = SetupGetAccessToken( local [all...] |
oauth2_api_call_flow_unittest.cc | 21 #include "net/url_request/url_fetcher.h" 127 TestURLFetcher* url_fetcher = new TestURLFetcher(0, url, flow_.get()); local 130 url_fetcher->set_status(URLRequestStatus(status, 0)); 133 url_fetcher->set_response_code(response_code); 136 url_fetcher->SetResponseString(body); 138 return url_fetcher; 158 TestURLFetcher* url_fetcher = local 161 .WillOnce(Return(url_fetcher)); 162 return url_fetcher; 177 TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_OK) local 225 TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_UNAUTHORIZED); local 242 TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_OK); local 258 TestURLFetcher* url_fetcher = SetupApiCall(false, net::HTTP_BAD_GATEWAY); local [all...] |
oauth2_mint_token_flow_unittest.cc | 281 TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); 282 url_fetcher.SetResponseString(std::string()); 285 flow_->ProcessApiCallSuccess(&url_fetcher); 288 TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); 289 url_fetcher.SetResponseString("foo"); 292 flow_->ProcessApiCallSuccess(&url_fetcher); 295 TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); 296 url_fetcher.SetResponseString(kTokenResponseNoAccessToken); 299 flow_->ProcessApiCallSuccess(&url_fetcher); 302 TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL) [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
protocol_manager_unittest.cc | 61 const net::TestURLFetcher* url_fetcher, 63 ASSERT_TRUE(url_fetcher); 64 EXPECT_EQ(net::LOAD_DISABLE_CACHE, url_fetcher->GetLoadFlags()); 66 url_fetcher->upload_data()); 69 url_fetcher->GetOriginalURL()); 72 void ValidateUpdateFetcherRequest(const net::TestURLFetcher* url_fetcher) { 73 ValidateUpdateFetcherRequest(url_fetcher, kUrlPrefix); 76 void ValidateRedirectFetcherRequest(const net::TestURLFetcher* url_fetcher, 78 ASSERT_TRUE(url_fetcher); 79 EXPECT_EQ(net::LOAD_DISABLE_CACHE, url_fetcher->GetLoadFlags()) 368 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 409 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 457 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 504 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 552 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 603 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 651 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 698 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 747 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 794 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 839 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 875 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 921 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 969 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local 1024 net::TestURLFetcher* url_fetcher = url_fetcher_factory.GetFetcherByID(0); local [all...] |
/external/chromium_org/chrome/browser/policy/cloud/ |
user_info_fetcher_unittest.cc | 52 net::TestURLFetcher* url_fetcher = url_factory_.GetFetcherByID(0); local 53 url_fetcher->set_status(net::URLRequestStatus( 55 url_fetcher->delegate()->OnURLFetchComplete(url_fetcher); 73 net::TestURLFetcher* url_fetcher = url_factory_.GetFetcherByID(0); local 74 url_fetcher->set_response_code(net::HTTP_OK); 75 url_fetcher->SetResponseString(kUserInfoResponse); 76 url_fetcher->delegate()->OnURLFetchComplete(url_fetcher);
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
obfuscated_gaia_id_fetcher_unittest.cc | 80 net::TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); 81 url_fetcher.set_status( 83 url_fetcher.SetResponseString(kGoodData); 86 fetcher.ProcessApiCallSuccess(&url_fetcher); 94 net::TestURLFetcher url_fetcher(1, GURL("http://www.google.com"), NULL); 95 url_fetcher.set_status( 97 url_fetcher.SetResponseString(kDictionaryMissingIdData); 100 fetcher.ProcessApiCallSuccess(&url_fetcher);
|
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_refresh_token_fetcher_unittest.cc | 148 void SendResponse(net::TestURLFetcher* url_fetcher, 150 url_fetcher->set_status( 152 url_fetcher->set_response_code(net::HTTP_OK); 153 url_fetcher->SetResponseString(response); 154 url_fetcher->delegate()->OnURLFetchComplete(url_fetcher); 157 void SetNetworkError(net::TestURLFetcher* url_fetcher, int error) { 158 url_fetcher->set_status( 160 url_fetcher->delegate()->OnURLFetchComplete(url_fetcher); 232 net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID(1); local 255 net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID( local [all...] |
/external/chromium_org/content/public/common/ |
url_fetcher.h | 21 net::URLFetcher* url_fetcher,
|
/external/chromium_org/net/url_request/ |
url_fetcher_factory.h | 8 #include "net/url_request/url_fetcher.h"
|
url_fetcher.cc | 5 #include "net/url_request/url_fetcher.h"
|
/external/chromium_org/remoting/jingle_glue/ |
chromium_port_allocator.cc | 11 #include "net/url_request/url_fetcher.h" 43 virtual void OnURLFetchComplete(const net::URLFetcher* url_fetcher) OVERRIDE; 99 scoped_ptr<net::URLFetcher> url_fetcher( 101 url_fetcher->SetRequestContext(url_context_.get()); 102 url_fetcher->AddExtraRequestHeader("X-Talk-Google-Relay-Auth: " + 104 url_fetcher->AddExtraRequestHeader("X-Google-Relay-Auth: " + relay_token()); 105 url_fetcher->AddExtraRequestHeader("X-Stream-Type: chromoting"); 106 url_fetcher->Start(); 107 url_fetchers_.insert(url_fetcher.release());
|
/external/chromium_org/chrome/browser/captive_portal/ |
captive_portal_detector.cc | 98 const net::URLFetcher* url_fetcher, 101 DCHECK(!url_fetcher->GetStatus().is_io_pending()); 104 results->response_code = url_fetcher->GetResponseCode(); 111 if (url_fetcher->GetStatus().status() != net::URLRequestStatus::SUCCESS) 116 net::HttpResponseHeaders* headers = url_fetcher->GetResponseHeaders();
|
captive_portal_detector.h | 15 #include "net/url_request/url_fetcher.h" 82 void GetCaptivePortalResultFromResponse(const net::URLFetcher* url_fetcher,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_cloud_policy_manager_chromeos_unittest.cc | 335 net::TestURLFetcher* url_fetcher = url_fetcher_factory_.GetFetcherByID( local 337 ASSERT_TRUE(url_fetcher); 338 url_fetcher->SetMaxRetriesOn5xx(0); 339 url_fetcher->set_status(net::URLRequestStatus()); 340 url_fetcher->set_response_code(url_fetcher_response_code_); 341 url_fetcher->SetResponseString(url_fetcher_response_string_); 342 url_fetcher->delegate()->OnURLFetchComplete(url_fetcher);
|
/external/chromium/chrome/browser/chromeos/login/ |
auth_response_handler.h | 11 #include "chrome/common/net/url_fetcher.h"
|
client_login_response_handler.cc | 12 #include "chrome/common/net/url_fetcher.h"
|
cookie_fetcher.cc | 17 #include "chrome/common/net/url_fetcher.h"
|
image_downloader.h | 14 #include "chrome/common/net/url_fetcher.h"
|
issue_response_handler.cc | 11 #include "chrome/common/net/url_fetcher.h"
|
mock_auth_response_handler.cc | 10 #include "chrome/common/net/url_fetcher.h"
|
/external/chromium/chrome/common/net/gaia/ |
gaia_auth_fetcher_unittest.h | 15 #include "chrome/common/net/url_fetcher.h"
|
/external/chromium_org/chrome/browser/extensions/api/feedback_private/ |
blob_reader.cc | 9 #include "net/url_request/url_fetcher.h"
|
/external/chromium_org/chrome/browser/local_discovery/ |
privet_confirm_api_flow.h | 12 #include "net/url_request/url_fetcher.h"
|
/external/chromium_org/chrome/browser/media/ |
webrtc_log_uploader.cc | 25 #include "net/url_request/url_fetcher.h" 101 net::URLFetcher* url_fetcher = local 103 url_fetcher->SetRequestContext(request_context); 104 url_fetcher->SetUploadData(content_type, post_data); 105 url_fetcher->Start();
|