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

Unified Diff: components/search_engines/search_engine_data_type_controller.h

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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/search_engines/search_engine_data_type_controller.h
diff --git a/components/search_engines/search_engine_data_type_controller.h b/components/search_engines/search_engine_data_type_controller.h
index d59e27e8ea2bc51b121791ddf8ff899067d98e5f..6ba0967d1414d23b27b9ce5f74bccbb781aef13a 100644
--- a/components/search_engines/search_engine_data_type_controller.h
+++ b/components/search_engines/search_engine_data_type_controller.h
@@ -10,14 +10,14 @@
#include "base/macros.h"
#include "components/search_engines/template_url_service.h"
-#include "components/sync/driver/ui_data_type_controller.h"
+#include "components/sync/driver/non_ui_data_type_controller.h"
namespace browser_sync {
// Controller for the SEARCH_ENGINES sync data type. This class tells sync
// how to load the model for this data type, and the superclasses manage
// controlling the rest of the state of the datatype with regards to sync.
-class SearchEngineDataTypeController : public syncer::UIDataTypeController {
+class SearchEngineDataTypeController : public syncer::NonUIDataTypeController {
public:
// |dump_stack| is called when an unrecoverable error occurs.
SearchEngineDataTypeController(const base::Closure& dump_stack,
@@ -28,7 +28,7 @@ class SearchEngineDataTypeController : public syncer::UIDataTypeController {
TemplateURLService::Subscription* GetSubscriptionForTesting();
private:
- // FrontendDataTypeController:
+ // NonUIDataTypeController:
bool StartModels() override;
void StopModels() override;

Powered by Google App Engine
This is Rietveld 408576698