Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: components/precache/core/precache_fetcher.h

Issue 2037903002: Precache manifest should not be added to fetcher pool which is full (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/precache/core/fetcher_pool.h ('k') | components/precache/core/precache_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/precache/core/precache_fetcher.h
diff --git a/components/precache/core/precache_fetcher.h b/components/precache/core/precache_fetcher.h
index d6c3fa416de693070e9605100bb8e6a027b4842f..24307b2a02fdd69f4b2d3b1135b6762ad280abc3 100644
--- a/components/precache/core/precache_fetcher.h
+++ b/components/precache/core/precache_fetcher.h
@@ -124,6 +124,9 @@ class PrecacheFetcher : public base::SupportsWeakPtr<PrecacheFetcher> {
std::unique_ptr<PrecacheUnfinishedWork> CancelPrecaching();
private:
+ friend class PrecacheFetcherTest;
+ FRIEND_TEST_ALL_PREFIXES(PrecacheFetcherTest, FetcherPoolMaxLimitReached);
+
// Notifies the precache delete that precaching is done, and report
// completion statistics.
void NotifyDone(size_t remaining_manifest_urls_to_fetch,
« no previous file with comments | « components/precache/core/fetcher_pool.h ('k') | components/precache/core/precache_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698