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

Unified Diff: chrome/browser/extensions/api/storage/syncable_settings_storage.h

Issue 138073006: sync: fix the way extension/app settings trigger deferred sync init (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: chrome/browser/extensions/api/storage/syncable_settings_storage.h
diff --git a/chrome/browser/extensions/api/storage/syncable_settings_storage.h b/chrome/browser/extensions/api/storage/syncable_settings_storage.h
index bffc8292de496544e79a405e2b88c219d8ea0c37..3c04f3b45460b5ad64960c64c616c260916a56e9 100644
--- a/chrome/browser/extensions/api/storage/syncable_settings_storage.h
+++ b/chrome/browser/extensions/api/storage/syncable_settings_storage.h
@@ -27,7 +27,9 @@ class SyncableSettingsStorage : public ValueStore {
const scoped_refptr<SettingsObserverList>& observers,
const std::string& extension_id,
// Ownership taken.
- ValueStore* delegate);
+ ValueStore* delegate,
+ syncer::ModelType sync_type,
+ const syncer::SyncableService::StartSyncFlare& flare);
virtual ~SyncableSettingsStorage();
@@ -104,6 +106,9 @@ class SyncableSettingsStorage : public ValueStore {
// Object which sends changes to sync.
scoped_ptr<SettingsSyncProcessor> sync_processor_;
+ const syncer::ModelType sync_type_;
+ const syncer::SyncableService::StartSyncFlare flare_;
+
DISALLOW_COPY_AND_ASSIGN(SyncableSettingsStorage);
};

Powered by Google App Engine
This is Rietveld 408576698