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

Unified Diff: chrome/browser/sync/glue/data_type_controller.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/sync/glue/data_type_controller.h
diff --git a/chrome/browser/sync/glue/data_type_controller.h b/chrome/browser/sync/glue/data_type_controller.h
index 8c6a89742f5d4391b33dfcdd5e4f14d242ca35c8..92fa11162d917a4b625ce930df38c2501a4f27b9 100644
--- a/chrome/browser/sync/glue/data_type_controller.h
+++ b/chrome/browser/sync/glue/data_type_controller.h
@@ -18,7 +18,7 @@
#include "sync/internal_api/public/syncable/model_type.h"
#include "sync/internal_api/public/util/unrecoverable_error_handler.h"
-namespace csync {
+namespace syncer {
class SyncError;
}
@@ -64,10 +64,10 @@ class DataTypeController
};
typedef base::Callback<void(StartResult,
- const csync::SyncError&)> StartCallback;
+ const syncer::SyncError&)> StartCallback;
typedef base::Callback<void(syncable::ModelType,
- csync::SyncError)> ModelLoadCallback;
+ syncer::SyncError)> ModelLoadCallback;
typedef std::map<syncable::ModelType,
scoped_refptr<DataTypeController> > TypeMap;
@@ -103,14 +103,14 @@ class DataTypeController
// The model safe group of this data type. This should reflect the
// thread that should be used to modify the data type's native
// model.
- virtual csync::ModelSafeGroup model_safe_group() const = 0;
+ virtual syncer::ModelSafeGroup model_safe_group() const = 0;
// Current state of the data type controller.
virtual State state() const = 0;
// Partial implementation of DataTypeErrorHandler.
// This is thread safe.
- virtual csync::SyncError CreateAndUploadError(
+ virtual syncer::SyncError CreateAndUploadError(
const tracked_objects::Location& location,
const std::string& message,
syncable::ModelType type) OVERRIDE;
« no previous file with comments | « chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc ('k') | chrome/browser/sync/glue/data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698