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/sync_backend_host.h

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index 3249a45c750037b54eb0c3988bef04251ab45f6d..38459a4130c6c564d16c7a310631dc4e872e0015 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -34,17 +34,20 @@ class NetworkResources;
class SyncManagerFactory;
}
-namespace browser_sync {
-
+namespace sync_driver {
class ChangeProcessor;
class SyncFrontend;
+}
+
+namespace browser_sync {
+
class SyncedDeviceTracker;
// An API to "host" the top level SyncAPI element.
//
// This class handles dispatch of potentially blocking calls to appropriate
// threads and ensures that the SyncFrontend is only accessed on the UI loop.
-class SyncBackendHost : public BackendDataTypeConfigurer {
+class SyncBackendHost : public sync_driver::BackendDataTypeConfigurer {
public:
typedef syncer::SyncStatus Status;
@@ -59,7 +62,7 @@ class SyncBackendHost : public BackendDataTypeConfigurer {
// |report_unrecoverable_error_function| can be NULL. Note:
// |unrecoverable_error_handler| may be invoked from any thread.
virtual void Initialize(
- SyncFrontend* frontend,
+ sync_driver::SyncFrontend* frontend,
scoped_ptr<base::Thread> sync_thread,
const syncer::WeakHandle<syncer::JsEventHandler>& event_handler,
const GURL& service_url,

Powered by Google App Engine
This is Rietveld 408576698