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

Unified Diff: components/browser_sync/profile_sync_components_factory_impl.h

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 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: components/browser_sync/profile_sync_components_factory_impl.h
diff --git a/components/browser_sync/profile_sync_components_factory_impl.h b/components/browser_sync/profile_sync_components_factory_impl.h
index e2ce26f231fd4090905b35435a7716428111258f..af7b0d4f341a627570904172e352b17ccdfe85e7 100644
--- a/components/browser_sync/profile_sync_components_factory_impl.h
+++ b/components/browser_sync/profile_sync_components_factory_impl.h
@@ -32,6 +32,8 @@ namespace net {
class URLRequestContextGetter;
}
+namespace browser_sync {
+
class ProfileSyncComponentsFactoryImpl
: public sync_driver::SyncApiComponentFactory {
public:
@@ -68,9 +70,9 @@ class ProfileSyncComponentsFactoryImpl
debug_info_listener,
const sync_driver::DataTypeController::TypeMap* controllers,
const sync_driver::DataTypeEncryptionHandler* encryption_handler,
- browser_sync::SyncBackendHost* backend,
+ SyncBackendHost* backend,
sync_driver::DataTypeManagerObserver* observer) override;
- browser_sync::SyncBackendHost* CreateSyncBackendHost(
+ SyncBackendHost* CreateSyncBackendHost(
const std::string& name,
invalidation::InvalidationService* invalidator,
const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
@@ -127,4 +129,6 @@ class ProfileSyncComponentsFactoryImpl
DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
};
+} // namespace browser_sync
+
#endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__

Powered by Google App Engine
This is Rietveld 408576698