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

Unified Diff: components/browser_sync/browser/profile_sync_components_factory_impl.h

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase. 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/browser/profile_sync_components_factory_impl.h
diff --git a/components/browser_sync/browser/profile_sync_components_factory_impl.h b/components/browser_sync/browser/profile_sync_components_factory_impl.h
index 3c04a32dfd7db9433fbfb24916e052bfb4ce869b..6b3024b04ba1605e07fe72235081b6ddfd8dcd6f 100644
--- a/components/browser_sync/browser/profile_sync_components_factory_impl.h
+++ b/components/browser_sync/browser/profile_sync_components_factory_impl.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
#define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
+#include <memory>
#include <string>
#include "base/command_line.h"
@@ -85,7 +86,7 @@ class ProfileSyncComponentsFactoryImpl
sync_driver::SyncApiComponentFactory::SyncComponents
CreateBookmarkSyncComponents(
sync_driver::SyncService* sync_service,
- syncer::DataTypeErrorHandler* error_handler) override;
+ std::unique_ptr<syncer::DataTypeErrorHandler> error_handler) override;
private:
// Register data types which are enabled on both desktop and mobile.

Powered by Google App Engine
This is Rietveld 408576698