Home
last modified time | relevance | path

Searched refs:fetchers_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/
Dintranet_redirect_detector.cc46 STLDeleteElements(&fetchers_); in ~IntranetRedirectDetector()
66 STLDeleteElements(&fetchers_); in FinishSleep()
73 DCHECK(fetchers_.empty() && resulting_origins_.empty()); in FinishSleep()
91 fetchers_.insert(fetcher); in FinishSleep()
98 Fetchers::iterator fetcher = fetchers_.find( in OnURLFetchComplete()
100 DCHECK(fetcher != fetchers_.end()); in OnURLFetchComplete()
102 fetchers_.erase(fetcher); in OnURLFetchComplete()
126 if (!fetchers_.empty()) { in OnURLFetchComplete()
128 DCHECK(fetchers_.size() == 1); in OnURLFetchComplete()
129 delete (*fetchers_.begin()); in OnURLFetchComplete()
[all …]
Dimage_holder.cc56 for (iter = fetchers_.begin(); iter != fetchers_.end(); ++iter) { in CreateBitmapFetcher()
62 fetchers_.push_back(new chrome::BitmapFetcher(url, this)); in CreateBitmapFetcher()
70 for (iter = fetchers_.begin(); iter != fetchers_.end(); ++iter) { in StartFetch()
Dimage_holder_unittest.cc34 EXPECT_EQ(GURL(kIconUrl1), image_holder.fetchers_[0]->url()); in TEST_F()
35 EXPECT_EQ(GURL(kIconUrl2), image_holder.fetchers_[1]->url()); in TEST_F()
36 EXPECT_EQ(static_cast<unsigned int>(2), image_holder.fetchers_.size()); in TEST_F()
40 EXPECT_EQ(GURL(kIconUrl1), image_holder.fetchers_[0]->url()); in TEST_F()
41 EXPECT_EQ(GURL(kIconUrl2), image_holder.fetchers_[1]->url()); in TEST_F()
42 EXPECT_EQ(static_cast<unsigned int>(2), image_holder.fetchers_.size()); in TEST_F()
Dintranet_redirect_detector.h71 Fetchers fetchers_; variable
Dimage_holder.h60 ScopedVector<chrome::BitmapFetcher> fetchers_; variable
/external/chromium_org/net/proxy/
Ddhcp_proxy_script_fetcher_win.cc116 for (FetcherVector::iterator it = fetchers_.begin(); in CancelImpl()
117 it != fetchers_.end(); in CancelImpl()
122 fetchers_.clear(); in CancelImpl()
160 fetchers_.push_back(fetcher); in OnGetCandidateAdapterNamesDone()
162 num_pending_fetchers_ = fetchers_.size(); in OnGetCandidateAdapterNamesDone()
187 for (FetcherVector::iterator it = fetchers_.begin(); in OnFetcherDone()
188 it != fetchers_.end(); in OnFetcherDone()
220 if (!fetchers_.empty()) { in TransitionToDone()
226 for (FetcherVector::iterator it = fetchers_.begin(); in TransitionToDone()
227 it != fetchers_.end(); in TransitionToDone()
[all …]
Ddhcp_proxy_script_fetcher_win.h145 FetcherVector fetchers_; variable
/external/chromium_org/google_apis/gaia/
Dmerge_session_helper.cc52 return gaia_auth_fetcher_ || fetchers_.size() > 0u; in IsRunning()
77 fetchers_[fetcher->GetOriginalURL()] = std::make_pair(token, fetcher); in OnGetCheckConnectionInfoSuccess()
115 fetchers_.count(url) > 0) { in OnURLFetchComplete()
122 results_[fetchers_[url].first] = data; in OnURLFetchComplete()
126 DCHECK_EQ(source, fetchers_[url].second); in OnURLFetchComplete()
127 fetchers_.erase(url); in OnURLFetchComplete()
132 if (fetchers_.empty()) { in OnURLFetchComplete()
146 for (URLToTokenAndFetcher::const_iterator it = fetchers_.begin(); in CleanupTransientState()
147 it != fetchers_.end(); ++it) { in CleanupTransientState()
150 fetchers_.clear(); in CleanupTransientState()
Dmerge_session_helper.h74 return fetchers_; in get_fetcher_map_for_testing()
99 URLToTokenAndFetcher fetchers_; variable
/external/chromium_org/chrome/browser/apps/drive/
Ddrive_app_converter.cc144 fetchers_.push_back(fetcher); // Pass ownership to |fetchers|. in Start()
148 if (fetchers_.empty()) in Start()
153 return !fetchers_.empty() || crx_installer_.get(); in IsStarted()
172 fetchers_.erase(std::find(fetchers_.begin(), fetchers_.end(), fetcher)); in OnIconFetchComplete()
174 if (fetchers_.empty()) in OnIconFetchComplete()
Ddrive_app_converter.h66 ScopedVector<IconFetcher> fetchers_; variable
/external/chromium_org/net/url_request/
Dtest_url_fetcher_factory.cc304 fetchers_[id] = fetcher; in CreateURLFetcher()
309 Fetchers::const_iterator i = fetchers_.find(id); in GetFetcherByID()
310 return i == fetchers_.end() ? NULL : i->second; in GetFetcherByID()
314 Fetchers::iterator i = fetchers_.find(id); in RemoveFetcherFromMap()
315 DCHECK(i != fetchers_.end()); in RemoveFetcherFromMap()
316 fetchers_.erase(i); in RemoveFetcherFromMap()
Durl_fetcher_core.cc51 DCHECK(!ContainsKey(fetchers_, core)); in AddURLFetcherCore()
52 fetchers_.insert(core); in AddURLFetcherCore()
56 DCHECK(ContainsKey(fetchers_, core)); in RemoveURLFetcherCore()
57 fetchers_.erase(core); in RemoveURLFetcherCore()
61 while (!fetchers_.empty()) in CancelAll()
62 (*fetchers_.begin())->CancelURLRequest(ERR_ABORTED); in CancelAll()
Durl_fetcher_core.h155 return fetchers_.size(); in size()
159 std::set<URLFetcherCore*> fetchers_;
Dtest_url_fetcher_factory.h257 Fetchers fetchers_; variable
/external/chromium_org/chrome/browser/spellchecker/
Dfeedback_sender_unittest.cc113 fetchers_.GetFetcherByID(kUrlFetcherId); in UploadDataContains()
120 fetchers_.GetFetcherByID(kUrlFetcherId); in UploadDataContains()
128 return !!fetchers_.GetFetcherByID(kUrlFetcherId); in IsUploadingData()
132 fetchers_.RemoveFetcherFromMap(kUrlFetcherId); in ClearUploadData()
137 fetchers_.GetFetcherByID(kUrlFetcherId); in GetUploadData()
149 net::TestURLFetcherFactory fetchers_; member in spellcheck::FeedbackSenderTest