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

Unified Diff: chrome/browser/sync/glue/non_frontend_data_type_controller.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/sync/glue/non_frontend_data_type_controller.h
diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller.h b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
index a8fc09ca096f2ba36fe6d5f8f8e988041f13cf12..413526eaab3bea3752c4373e0998a02916e7d710 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller.h
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
@@ -20,9 +20,15 @@
class Profile;
class ProfileSyncService;
class ProfileSyncComponentsFactory;
+
+namespace base {
+class TimeDelta;
+}
+
+namespace csync {
class SyncError;
+}
-namespace base { class TimeDelta; }
namespace browser_sync {
class AssociatorInterface;
@@ -95,18 +101,18 @@ class NonFrontendDataTypeController : public DataTypeController {
// Start failed, make sure we record it, clean up state, and invoke the
// callback on the frontend thread.
// Note: this is performed on the datatype's thread.
- virtual void StartFailed(StartResult result, const SyncError& error);
+ virtual void StartFailed(StartResult result, const csync::SyncError& error);
// Start up complete, update the state and invoke the callback.
// Note: this is performed on the datatype's thread.
virtual void StartDone(DataTypeController::StartResult result,
DataTypeController::State new_state,
- const SyncError& error);
+ const csync::SyncError& error);
// UI thread implementation of StartDone.
virtual void StartDoneImpl(DataTypeController::StartResult result,
DataTypeController::State new_state,
- const SyncError& error);
+ const csync::SyncError& error);
// Perform any DataType controller specific state cleanup before stopping
// the datatype controller. The default implementation is a no-op.

Powered by Google App Engine
This is Rietveld 408576698