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

Unified Diff: components/search_engines/search_engine_data_type_controller.h

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Fix integration test issue. 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 0a6e1dc1ca4e39eb1bf3e37344d748d787cef738..cc40d28cb52f11e8691ec2c3b2a47b1b58e4fb50 100644
--- a/components/search_engines/search_engine_data_type_controller.h
+++ b/components/search_engines/search_engine_data_type_controller.h
@@ -10,7 +10,7 @@
#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"
class Profile;
@@ -19,7 +19,7 @@ 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,
@@ -30,7 +30,7 @@ class SearchEngineDataTypeController : public syncer::UIDataTypeController {
TemplateURLService::Subscription* GetSubscriptionForTesting();
private:
- // FrontendDataTypeController:
+ // NonUIDataTypeController implementation.
bool StartModels() override;
void StopModels() override;

Powered by Google App Engine
This is Rietveld 408576698