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

Unified Diff: components/browsing_data/core/history_notice_utils_unittest.cc

Issue 2494873003: [Sync] Allow sync start without sign-in if the local sync backend is on. (Closed)
Patch Set: Remove ifdefs around include. Created 4 years 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/browsing_data/core/history_notice_utils_unittest.cc
diff --git a/components/browsing_data/core/history_notice_utils_unittest.cc b/components/browsing_data/core/history_notice_utils_unittest.cc
index 6c4363c02d1b5353b809a767c235f086512fa7f0..2701c85ed777a55e58d2c5814df4cb76e12565ee 100644
--- a/components/browsing_data/core/history_notice_utils_unittest.cc
+++ b/components/browsing_data/core/history_notice_utils_unittest.cc
@@ -28,9 +28,9 @@ namespace {
class TestSyncService : public syncer::FakeSyncService {
public:
// Getters (FakeSyncService implementation). ---------------------------------
- bool IsSyncActive() const override {
- return sync_active_;
- }
+ bool IsSyncActive() const override { return sync_active_; }
+
+ bool IsLocalSyncEnabled() const override { return false; }
syncer::ModelTypeSet GetActiveDataTypes() const override {
return active_data_types_;
« no previous file with comments | « components/browser_sync/profile_sync_service_unittest.cc ('k') | components/precache/content/precache_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698