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

Unified Diff: components/sync_sessions/session_data_type_controller.h

Issue 2546163003: [Sync] Convert SyncSessions to NonUIDataTypeController and remove UIDataTypeController (Closed)
Patch Set: Fix SyncSessionsMetricsTest Created 4 years 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_sessions/session_data_type_controller.h
diff --git a/components/sync_sessions/session_data_type_controller.h b/components/sync_sessions/session_data_type_controller.h
index 27cb2409bb701c099d7a1a56aa51864948746ffb..3a6b6ff93d3c981cd112698d7b85f9d64f54fb5b 100644
--- a/components/sync_sessions/session_data_type_controller.h
+++ b/components/sync_sessions/session_data_type_controller.h
@@ -10,14 +10,14 @@
#include "base/macros.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/sync/device_info/local_device_info_provider.h"
-#include "components/sync/driver/ui_data_type_controller.h"
+#include "components/sync/driver/non_ui_data_type_controller.h"
namespace sync_sessions {
// Overrides StartModels to avoid sync contention with sessions during
// a session restore operation at startup and to wait for the local
// device info to become available.
-class SessionDataTypeController : public syncer::UIDataTypeController {
+class SessionDataTypeController : public syncer::NonUIDataTypeController {
public:
// |dump_stack| is called when an unrecoverable error occurs.
SessionDataTypeController(const base::Closure& dump_stack,
@@ -26,7 +26,7 @@ class SessionDataTypeController : public syncer::UIDataTypeController {
const char* history_disabled_pref_name);
~SessionDataTypeController() override;
- // UIDataTypeController implementation.
+ // NonUIDataTypeController implementation.
bool StartModels() override;
void StopModels() override;
bool ReadyForStart() const override;
« no previous file with comments | « components/sync/driver/ui_data_type_controller_unittest.cc ('k') | components/sync_sessions/session_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698