/external/chromium_org/chrome/browser/extensions/api/identity/ |
account_tracker.cc | 154 AccountIdFetcher* fetcher = local 156 user_info_requests_[account_key] = fetcher; 157 fetcher->Start(); 160 void AccountTracker::OnUserInfoFetchSuccess(AccountIdFetcher* fetcher, 162 const std::string& account_key = fetcher->account_key(); 172 DeleteFetcher(fetcher); 175 void AccountTracker::OnUserInfoFetchFailure(AccountIdFetcher* fetcher) { 176 LOG(WARNING) << "Failed to get UserInfo for " << fetcher->account_key(); 177 std::string key = fetcher->account_key(); 178 DeleteFetcher(fetcher); [all...] |
/external/chromium_org/chrome/browser/local_discovery/ |
privet_http_unittest.cc | 217 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 218 EXPECT_TRUE(fetcher); 219 EXPECT_EQ(url, fetcher->GetOriginalURL()); 221 if (!fetcher || url != fetcher->GetOriginalURL()) 224 fetcher->SetResponseString(response); 225 fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 227 fetcher->set_response_code(200); 228 fetcher->delegate()->OnURLFetchComplete(fetcher); 235 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 250 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 436 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 458 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 483 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 511 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local [all...] |
privet_http_impl.h | 32 virtual void OnError(PrivetURLFetcher* fetcher, 34 virtual void OnParsedJson(PrivetURLFetcher* fetcher, 59 virtual void OnError(PrivetURLFetcher* fetcher, 62 virtual void OnParsedJson(PrivetURLFetcher* fetcher, 67 PrivetURLFetcher* fetcher, 82 virtual void OnError(PrivetURLFetcher* fetcher, 85 virtual void OnParsedJson(PrivetURLFetcher* fetcher, 132 virtual void OnError(PrivetURLFetcher* fetcher, 134 virtual void OnParsedJson(PrivetURLFetcher* fetcher, 138 PrivetURLFetcher* fetcher, [all...] |
privet_local_printer_lister_unittest.cc | 147 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local 148 EXPECT_TRUE(fetcher); 149 EXPECT_EQ(url, fetcher->GetOriginalURL()); 151 if (!fetcher || url != fetcher->GetOriginalURL()) 154 fetcher->SetResponseString(response); 155 fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 157 fetcher->set_response_code(200); 158 fetcher->delegate()->OnURLFetchComplete(fetcher); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSCrossfadeValue.cpp | 63 static ImageResource* cachedImageForCSSValue(CSSValue* value, ResourceFetcher* fetcher) 69 StyleFetchedImage* styleImageResource = toCSSImageValue(value)->cachedImage(fetcher); 77 toCSSImageGeneratorValue(value)->loadSubimages(fetcher); 113 ResourceFetcher* fetcher = renderer->document().fetcher(); local 114 ImageResource* cachedFromImage = cachedImageForCSSValue(m_fromValue.get(), fetcher); 115 ImageResource* cachedToImage = cachedImageForCSSValue(m_toValue.get(), fetcher); 142 void CSSCrossfadeValue::loadSubimages(ResourceFetcher* fetcher) 147 m_cachedFromImage = cachedImageForCSSValue(m_fromValue.get(), fetcher); 148 m_cachedToImage = cachedImageForCSSValue(m_toValue.get(), fetcher); [all...] |
/external/chromium_org/content/browser/device_orientation/ |
data_fetcher_shared_memory_base.h | 20 // If the fetcher requires polling it should also implement IsPolling() 43 // Fetcher runs on the same thread as its creator. 45 // Fetcher runs on a separate thread calling |Fetch()| at regular intervals. 47 // Fetcher runs on a separate thread, but no callbacks are executed. 65 // Returns the type of thread this fetcher runs on. 68 // Returns the sensor sampling interval. In particular if this fetcher
|
/external/chromium_org/chrome/browser/extensions/updater/ |
extension_updater_unittest.cc | 577 // Get the url our mock fetcher was asked to fetch. 578 net::TestURLFetcher* fetcher = local 580 const GURL& url = fetcher->GetOriginalURL(); 667 net::TestURLFetcher* fetcher = local 669 ASSERT_TRUE(fetcher); 672 const std::string& update_url = fetcher->GetOriginalURL().spec(); 776 net::TestURLFetcher* fetcher = NULL; local 799 // This will start the first fetcher and queue the others. The next in queue 800 // is started as each fetcher receives its response. 808 fetcher = factory.GetFetcherByID(ExtensionDownloader::kManifestFetcherId) 898 net::TestURLFetcher* fetcher = NULL; local 972 net::TestURLFetcher* fetcher = NULL; local 1056 net::TestURLFetcher* fetcher = NULL; local 1282 net::TestURLFetcher* fetcher = local 1596 net::TestURLFetcher* fetcher = local [all...] |
/external/chromium_org/chrome/browser/chromeos/attestation/ |
attestation_ca_client_unittest.cc | 44 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 45 CHECK(fetcher); 46 fetcher->set_status(net::URLRequestStatus(status, 0)); 47 fetcher->set_response_code(response_code); 48 fetcher->SetResponseString(fetcher->upload_data() + "_response"); 49 fetcher->delegate()->OnURLFetchComplete(fetcher);
|
/external/chromium_org/chrome/browser/translate/ |
translate_script_unittest.cc | 53 net::TestURLFetcher* fetcher = GetTestURLFetcher(); local 54 ASSERT_TRUE(fetcher); 57 GURL url = fetcher->GetOriginalURL(); 62 int load_flags = fetcher->GetLoadFlags(); 71 fetcher->GetExtraRequestHeaders(&extra_headers); 107 net::TestURLFetcher* fetcher = GetTestURLFetcher(); local 108 ASSERT_TRUE(fetcher); 111 GURL url = fetcher->GetOriginalURL();
|
/external/chromium_org/content/browser/gamepad/ |
gamepad_provider.h | 36 // Manually specifies the data fetcher. Used for testing. 37 explicit GamepadProvider(scoped_ptr<GamepadDataFetcher> fetcher); 59 void Initialize(scoped_ptr<GamepadDataFetcher> fetcher); 61 // Method for setting up the platform-specific data fetcher. Takes ownership 62 // of |fetcher|. 63 void DoInitializePollingThread(scoped_ptr<GamepadDataFetcher> fetcher); 65 // Method for sending pause hints to the low-level data fetcher. Runs on 108 // have been updated, and this notification is passed on to the data fetcher
|
gamepad_provider.cc | 41 GamepadProvider::GamepadProvider(scoped_ptr<GamepadDataFetcher> fetcher) 45 Initialize(fetcher.Pass()); 105 void GamepadProvider::Initialize(scoped_ptr<GamepadDataFetcher> fetcher) { 117 // On Mac, the data fetcher uses IOKit which depends on CFRunLoop, so the 121 // On Linux, the data fetcher needs to watch file descriptors, so the message 132 base::Passed(&fetcher))); 136 scoped_ptr<GamepadDataFetcher> fetcher) { 140 if (!fetcher) 141 fetcher.reset(new GamepadPlatformDataFetcher); 142 data_fetcher_ = fetcher.Pass() [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/common/ |
json_response_fetcher.cc | 67 scoped_ptr<net::URLFetcher> fetcher(fetcher_.Pass()); 69 if (!fetcher->GetStatus().is_success() || 70 fetcher->GetResponseCode() != 200) { 76 fetcher->GetResponseAsString(&json_data);
|
/external/chromium_org/components/dom_distiller/core/ |
distiller_url_fetcher.cc | 49 net::URLFetcher* fetcher = local 51 fetcher->SetRequestContext(context_getter); 53 fetcher->SetMaxRetriesOn5xx(kMaxRetries); 54 return fetcher;
|
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/ |
XMLDocumentParserScope.cpp | 33 XMLDocumentParserScope::XMLDocumentParserScope(ResourceFetcher* fetcher) 39 currentFetcher = fetcher; 42 XMLDocumentParserScope::XMLDocumentParserScope(ResourceFetcher* fetcher, xmlGenericErrorFunc genericErrorFunc, xmlStructuredErrorFunc structuredErrorFunc, void* errorContext) 48 currentFetcher = fetcher;
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
cloud_external_data_policy_observer_unittest.cc | 393 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 394 ASSERT_TRUE(fetcher); 395 EXPECT_EQ(GURL(kAvatar1URL), fetcher->GetOriginalURL()); 397 fetcher->SetResponseString(avatar_policy_1_data_); 398 fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 400 fetcher->set_response_code(200); 401 fetcher->delegate()->OnURLFetchComplete(fetcher); 435 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 436 ASSERT_TRUE(fetcher); 508 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 554 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 598 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 665 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 740 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local [all...] |
user_cloud_policy_manager_chromeos_unittest.cc | 191 net::TestURLFetcher* fetcher = test_url_fetcher_factory_.GetFetcherByID(0); local 192 EXPECT_TRUE(fetcher); 193 if (!fetcher) 195 EXPECT_TRUE(fetcher->delegate()); 196 EXPECT_TRUE(StartsWithASCII(fetcher->GetOriginalURL().spec(), 199 fetcher->set_url(fetcher->GetOriginalURL()); 200 fetcher->set_response_code(200); 201 fetcher->set_status(net::URLRequestStatus()); 202 return fetcher; 219 net::TestURLFetcher* fetcher = NULL; local 414 net::TestURLFetcher* fetcher = PrepareOAuthFetcher( local [all...] |
/external/chromium_org/content/browser/speech/ |
speech_recognizer_impl_unittest.cc | 229 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 230 ASSERT_TRUE(fetcher); 231 EXPECT_EQ(i + 1, fetcher->upload_chunks().size()); 243 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 244 ASSERT_TRUE(fetcher); 246 fetcher->set_url(fetcher->GetOriginalURL()); 249 fetcher->set_status(status); 250 fetcher->set_response_code(200); 251 fetcher->SetResponseString 292 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local 330 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
new_github_file_system_test.py | 26 GithubFileSystems via |CreateGfs()|, the Fetcher it uses as |fetcher|, 59 # Constructing |gfs| will create a fetcher. 185 gfs, fetcher = test_bundle.CreateGfsAndFetcher() 189 self.assertTrue(*fetcher.CheckAndReset()) 191 self.assertTrue(*fetcher.CheckAndReset(fetch_count=1, 197 self.assertTrue(*fetcher.CheckAndReset()) 209 gfs, fetcher = test_bundle.CreateGfsAndFetcher() 211 self.assertTrue(*fetcher.CheckAndReset(fetch_count=1, 223 gfs, fetcher = test_bundle.CreateGfsAndFetcher( [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
ResourceFetcherTest.cpp | 56 RefPtr<ResourceFetcher> fetcher(documentLoader->fetcher()); 57 fetcher->setDocument(document.get()); 58 EXPECT_EQ(fetcher->frame(), static_cast<Frame*>(0)); 63 ResourcePtr<ImageResource> image = fetcher->fetchImage(fetchRequest);
|
/external/chromium/chrome/browser/sync/ |
signin_manager_unittest.cc | 34 TestURLFetcher* fetcher = factory_.GetFetcherByID(0); local 35 DCHECK(fetcher); 36 DCHECK(fetcher->delegate()); 37 fetcher->delegate()->OnURLFetchComplete( 38 fetcher, GURL(GaiaAuthFetcher::kClientLoginUrl), 43 // A new URL fetcher is used for each call. 44 fetcher = factory_.GetFetcherByID(0); 45 DCHECK(fetcher); 46 DCHECK(fetcher->delegate()); 47 fetcher->delegate()->OnURLFetchComplete [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
device_management_service.cc | 67 bool IsProtobufMimeType(const net::URLFetcher* fetcher) { 68 return fetcher->GetResponseHeaders()->HasHeaderValue( 72 bool FailedWithProxy(const net::URLFetcher* fetcher) { 73 if ((fetcher->GetLoadFlags() & net::LOAD_BYPASS_PROXY) != 0) { 78 if (!fetcher->GetStatus().is_success() && 79 IsProxyError(fetcher->GetStatus())) { 84 if (fetcher->GetStatus().is_success() && 85 fetcher->GetResponseCode() == kSuccess && 86 fetcher->WasFetchedViaProxy() && 87 !IsProtobufMimeType(fetcher)) { 460 net::URLFetcher* fetcher = net::URLFetcher::Create( local [all...] |
/external/chromium/chrome/browser/ |
intranet_redirect_detector.cc | 83 URLFetcher* fetcher = new URLFetcher(random_url, URLFetcher::HEAD, this); local 85 fetcher->set_load_flags(net::LOAD_DISABLE_CACHE | 87 fetcher->set_request_context(g_browser_process->system_request_context()); 88 fetcher->Start(); 89 fetchers_.insert(fetcher); 100 // Delete the fetcher on this function's exit. 101 Fetchers::iterator fetcher = fetchers_.find(const_cast<URLFetcher*>(source)); local 102 DCHECK(fetcher != fetchers_.end()); 103 scoped_ptr<URLFetcher> clean_up_fetcher(*fetcher); 104 fetchers_.erase(fetcher); [all...] |
/external/chromium/webkit/glue/ |
resource_fetcher_unittest.cc | 105 scoped_ptr<ResourceFetcher> fetcher(new ResourceFetcher( 118 fetcher.reset(new ResourceFetcher(url, frame, 138 scoped_ptr<ResourceFetcher> fetcher(new ResourceFetcher( 156 // Grab a page that takes at least 1 sec to respond, but set the fetcher to 160 scoped_ptr<ResourceFetcher> fetcher(new ResourceFetcherWithTimeout( 176 void SetFetcher(ResourceFetcher* fetcher) { 177 fetcher_.reset(fetcher); 197 // Grab a page that takes at least 1 sec to respond, but set the fetcher to 201 scoped_ptr<ResourceFetcher> fetcher(new ResourceFetcherWithTimeout( 204 delegate->SetFetcher(fetcher.release()) [all...] |
/external/chromium_org/chrome/browser/ |
intranet_redirect_detector.cc | 85 net::URLFetcher* fetcher = net::URLFetcher::Create( local 88 fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | 91 fetcher->SetRequestContext(g_browser_process->system_request_context()); 92 fetcher->Start(); 93 fetchers_.insert(fetcher); 99 // Delete the fetcher on this function's exit. 100 Fetchers::iterator fetcher = fetchers_.find( local 102 DCHECK(fetcher != fetchers_.end()); 103 scoped_ptr<net::URLFetcher> clean_up_fetcher(*fetcher); 104 fetchers_.erase(fetcher); [all...] |
/external/chromium_org/content/renderer/ |
resource_fetcher_browsertest.cc | 106 void SetFetcher(ResourceFetcher* fetcher) { 107 fetcher_.reset(fetcher); 116 // calling FetcherDelegate::OnURLFetchComplete, since deleting the fetcher 145 scoped_ptr<ResourceFetcher> fetcher(ResourceFetcher::Create( 160 scoped_ptr<ResourceFetcher> fetcher(ResourceFetcher::Create( 176 scoped_ptr<ResourceFetcher> fetcher(ResourceFetcher::Create( 193 scoped_ptr<ResourceFetcher> fetcher(ResourceFetcher::Create( 196 fetcher->SetTimeout(base::TimeDelta()); 212 scoped_ptr<ResourceFetcher> fetcher(ResourceFetcher::Create( 215 fetcher->SetTimeout(base::TimeDelta()) [all...] |