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

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

Issue 2300703004: Fix precache issue with cancel and resume (Closed)
Patch Set: Addressed sclittle comments Created 4 years, 3 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
Index: components/precache/core/precache_fetcher.h
diff --git a/components/precache/core/precache_fetcher.h b/components/precache/core/precache_fetcher.h
index 927581f46c7cda005468b459921a83ec926f6233..3c6f9e6e612ebf6e7c982147b0fc36ea722d6aa4 100644
--- a/components/precache/core/precache_fetcher.h
+++ b/components/precache/core/precache_fetcher.h
@@ -152,6 +152,8 @@ class PrecacheFetcher : public base::SupportsWeakPtr<PrecacheFetcher> {
private:
friend class PrecacheFetcherTest;
FRIEND_TEST_ALL_PREFIXES(PrecacheFetcherTest, FetcherPoolMaxLimitReached);
+ FRIEND_TEST_ALL_PREFIXES(PrecacheFetcherTest,
+ CancelPrecachingAfterAllManifestFetch);
// Notifies the precache delete that precaching is done, and report
// completion statistics.
« no previous file with comments | « components/precache/core/precache_database_unittest.cc ('k') | components/precache/core/precache_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698