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

Unified Diff: components/precache/content/precache_manager_unittest.cc

Issue 1176253002: Fix IsPrecachingAllowed() to check Sync instead of Data Saver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaks per bengr. Created 5 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/content/precache_manager_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/precache/content/precache_manager_unittest.cc
diff --git a/components/precache/content/precache_manager_unittest.cc b/components/precache/content/precache_manager_unittest.cc
index 6f5fd89c6dbd53798940b431484705cf35d3bc2e..9a9957a0a031656e1f8ed1d47c8a94769814f15b 100644
--- a/components/precache/content/precache_manager_unittest.cc
+++ b/components/precache/content/precache_manager_unittest.cc
@@ -124,9 +124,10 @@ class TestPrecacheCompletionCallback {
class PrecacheManagerTest : public testing::Test {
public:
PrecacheManagerTest()
- : precache_manager_(&browser_context_),
- factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher,
- base::Unretained(&url_callback_))) {}
+ : precache_manager_(&browser_context_, nullptr /* sync_service */),
+ factory_(nullptr,
+ base::Bind(&TestURLFetcherCallback::CreateURLFetcher,
+ base::Unretained(&url_callback_))) {}
protected:
void SetUp() override {
« no previous file with comments | « components/precache/content/precache_manager_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698