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

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

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 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/settings_sync_processor.h
diff --git a/chrome/browser/extensions/settings/settings_sync_processor.h b/chrome/browser/extensions/settings/settings_sync_processor.h
index aad9a0159dc70abdd71a4fd24284ecf3227ef715..8567006c3af7bc56d0e42bd0d31b9346443d8338 100644
--- a/chrome/browser/extensions/settings/settings_sync_processor.h
+++ b/chrome/browser/extensions/settings/settings_sync_processor.h
@@ -12,7 +12,9 @@
#include "chrome/browser/value_store/value_store_change.h"
#include "sync/api/sync_error.h"
+namespace csync {
class SyncChangeProcessor;
+} // namespace csync
namespace extensions {
@@ -26,14 +28,14 @@ class SettingsSyncProcessor {
public:
SettingsSyncProcessor(const std::string& extension_id,
syncable::ModelType type,
- SyncChangeProcessor* sync_processor);
+ csync::SyncChangeProcessor* sync_processor);
~SettingsSyncProcessor();
// Initializes this with the initial state of sync.
void Init(const DictionaryValue& initial_state);
// Sends |changes| to sync.
- SyncError SendChanges(const ValueStoreChangeList& changes);
+ csync::SyncError SendChanges(const ValueStoreChangeList& changes);
// Informs this that |changes| have been receieved from sync. No action will
// be taken, but this must be notified for internal bookkeeping.
@@ -49,7 +51,7 @@ class SettingsSyncProcessor {
const syncable::ModelType type_;
// The sync processor used to send changes to sync.
- SyncChangeProcessor* const sync_processor_;
+ csync::SyncChangeProcessor* const sync_processor_;
// Whether Init() has been called.
bool initialized_;
« no previous file with comments | « chrome/browser/extensions/settings/settings_frontend.cc ('k') | chrome/browser/extensions/settings/settings_sync_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698