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

Unified Diff: components/sync_sessions/session_data_type_controller.h

Issue 2549223003: [Sync] Rename NonUIDataTypeController to AsyncDirectoryTypeController (Closed)
Patch Set: 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 3a6b6ff93d3c981cd112698d7b85f9d64f54fb5b..db217f948634f4c1d9142491274b1def849b1b89 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/non_ui_data_type_controller.h"
+#include "components/sync/driver/async_directory_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::NonUIDataTypeController {
+class SessionDataTypeController : public syncer::AsyncDirectoryTypeController {
public:
// |dump_stack| is called when an unrecoverable error occurs.
SessionDataTypeController(const base::Closure& dump_stack,
@@ -26,7 +26,7 @@ class SessionDataTypeController : public syncer::NonUIDataTypeController {
const char* history_disabled_pref_name);
~SessionDataTypeController() override;
- // NonUIDataTypeController implementation.
+ // AsyncDirectoryTypeController implementation.
bool StartModels() override;
void StopModels() override;
bool ReadyForStart() const override;

Powered by Google App Engine
This is Rietveld 408576698