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

Unified Diff: chrome/browser/extensions/settings/syncable_settings_storage.h

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 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
Index: chrome/browser/extensions/settings/syncable_settings_storage.h
diff --git a/chrome/browser/extensions/settings/syncable_settings_storage.h b/chrome/browser/extensions/settings/syncable_settings_storage.h
index e8403bf2465ce401cb2888a01e7d05c0b5e186e1..3cac0ab2c2aab03590708117cf362773f164dd78 100644
--- a/chrome/browser/extensions/settings/syncable_settings_storage.h
+++ b/chrome/browser/extensions/settings/syncable_settings_storage.h
@@ -53,7 +53,7 @@ class SyncableSettingsStorage : public ValueStore {
// can be called.
// Must only be called if sync isn't already active.
- csync::SyncError StartSyncing(
+ syncer::SyncError StartSyncing(
const DictionaryValue& sync_state,
scoped_ptr<SettingsSyncProcessor> sync_processor);
@@ -61,32 +61,32 @@ class SyncableSettingsStorage : public ValueStore {
void StopSyncing();
// May be called at any time; changes will be ignored if sync isn't active.
- csync::SyncError ProcessSyncChanges(const SettingSyncDataList& sync_changes);
+ syncer::SyncError ProcessSyncChanges(const SettingSyncDataList& sync_changes);
private:
// Sends the changes from |result| to sync if it's enabled.
void SyncResultIfEnabled(const ValueStore::WriteResult& result);
// Sends all local settings to sync (synced settings assumed to be empty).
- csync::SyncError SendLocalSettingsToSync(
+ syncer::SyncError SendLocalSettingsToSync(
const DictionaryValue& settings);
// Overwrites local state with sync state.
- csync::SyncError OverwriteLocalSettingsWithSync(
+ syncer::SyncError OverwriteLocalSettingsWithSync(
const DictionaryValue& sync_state, const DictionaryValue& settings);
// Called when an Add/Update/Remove comes from sync. Ownership of Value*s
// are taken.
- csync::SyncError OnSyncAdd(
+ syncer::SyncError OnSyncAdd(
const std::string& key,
Value* new_value,
ValueStoreChangeList* changes);
- csync::SyncError OnSyncUpdate(
+ syncer::SyncError OnSyncUpdate(
const std::string& key,
Value* old_value,
Value* new_value,
ValueStoreChangeList* changes);
- csync::SyncError OnSyncDelete(
+ syncer::SyncError OnSyncDelete(
const std::string& key,
Value* old_value,
ValueStoreChangeList* changes);

Powered by Google App Engine
This is Rietveld 408576698