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

Unified Diff: chrome/browser/supervised_user/supervised_user_sync_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
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_sync_data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/supervised_user_sync_data_type_controller.h
diff --git a/chrome/browser/supervised_user/supervised_user_sync_data_type_controller.h b/chrome/browser/supervised_user/supervised_user_sync_data_type_controller.h
index d8e7050fc76c0b0c645c7f3a23bdbadc66b6759b..9ed16113fc953ee3b6f32b11c87b2a86e2c963a0 100644
--- a/chrome/browser/supervised_user/supervised_user_sync_data_type_controller.h
+++ b/chrome/browser/supervised_user/supervised_user_sync_data_type_controller.h
@@ -20,17 +20,16 @@ class Profile;
class SupervisedUserSyncDataTypeController
: public sync_driver::UIDataTypeController {
public:
+ // |dump_stack| is called when an unrecoverable error occurs.
SupervisedUserSyncDataTypeController(syncer::ModelType type,
- const base::Closure& error_callback,
+ const base::Closure& dump_stack,
sync_driver::SyncClient* sync_client,
Profile* profile);
+ ~SupervisedUserSyncDataTypeController() override;
bool ReadyForStart() const override;
private:
- // DataTypeController is RefCounted.
- ~SupervisedUserSyncDataTypeController() override;
-
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncDataTypeController);
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_sync_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698