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

Unified Diff: components/sync_bookmarks/bookmark_data_type_controller.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/sync_bookmarks/bookmark_data_type_controller.h
diff --git a/components/sync_bookmarks/bookmark_data_type_controller.h b/components/sync_bookmarks/bookmark_data_type_controller.h
index 9b7fce472d52ef5224c3f34b17503dc672092134..d9b9689bb9c66c19eab1d6a079b43285af12282e 100644
--- a/components/sync_bookmarks/bookmark_data_type_controller.h
+++ b/components/sync_bookmarks/bookmark_data_type_controller.h
@@ -21,17 +21,12 @@ class BookmarkDataTypeController : public FrontendDataTypeController,
public bookmarks::BaseBookmarkModelObserver,
public history::HistoryServiceObserver {
public:
- BookmarkDataTypeController(
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- const base::Closure& error_callback,
- sync_driver::SyncClient* sync_client);
-
- // FrontendDataTypeController:
- syncer::ModelType type() const override;
-
- private:
+ // |dump_stack| is called when an unrecoverable error occurs.
+ BookmarkDataTypeController(const base::Closure& dump_stack,
+ sync_driver::SyncClient* sync_client);
~BookmarkDataTypeController() override;
+ private:
// FrontendDataTypeController:
bool StartModels() override;
void CleanUpState() override;
« no previous file with comments | « components/sync_bookmarks/bookmark_change_processor.cc ('k') | components/sync_bookmarks/bookmark_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698