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

Unified Diff: components/history/core/browser/typed_url_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/history/core/browser/typed_url_data_type_controller.h
diff --git a/components/history/core/browser/typed_url_data_type_controller.h b/components/history/core/browser/typed_url_data_type_controller.h
index 298882af0c539da9f2b9a41e72ea43997f8d9c9c..2f5e1d06bc79e16f4194eef865fc105ab7119436 100644
--- a/components/history/core/browser/typed_url_data_type_controller.h
+++ b/components/history/core/browser/typed_url_data_type_controller.h
@@ -11,13 +11,13 @@
#include "base/macros.h"
#include "base/task/cancelable_task_tracker.h"
#include "components/prefs/pref_change_registrar.h"
-#include "components/sync/driver/non_ui_data_type_controller.h"
+#include "components/sync/driver/async_directory_type_controller.h"
#include "components/sync/driver/sync_api_component_factory.h"
namespace browser_sync {
// A class that manages the startup and shutdown of typed_url sync.
-class TypedUrlDataTypeController : public syncer::NonUIDataTypeController {
+class TypedUrlDataTypeController : public syncer::AsyncDirectoryTypeController {
public:
// |dump_stack| is called when an unrecoverable error occurs.
TypedUrlDataTypeController(const base::Closure& dump_stack,
@@ -25,11 +25,11 @@ class TypedUrlDataTypeController : public syncer::NonUIDataTypeController {
const char* history_disabled_pref_name);
~TypedUrlDataTypeController() override;
- // NonUIDataTypeController implementation.
+ // AsyncDirectoryTypeController implementation.
bool ReadyForStart() const override;
protected:
- // NonUIDataTypeController implementation.
+ // AsyncDirectoryTypeController implementation.
bool PostTaskOnModelThread(const tracked_objects::Location& from_here,
const base::Closure& task) override;

Powered by Google App Engine
This is Rietveld 408576698