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

Unified Diff: components/search_engines/search_engine_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/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 6ba0967d1414d23b27b9ce5f74bccbb781aef13a..a7925b5c89380687a533589b6003bb55e48c23d0 100644
--- a/components/search_engines/search_engine_data_type_controller.h
+++ b/components/search_engines/search_engine_data_type_controller.h
@@ -10,14 +10,15 @@
#include "base/macros.h"
#include "components/search_engines/template_url_service.h"
-#include "components/sync/driver/non_ui_data_type_controller.h"
+#include "components/sync/driver/async_directory_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::NonUIDataTypeController {
+class SearchEngineDataTypeController
+ : public syncer::AsyncDirectoryTypeController {
public:
// |dump_stack| is called when an unrecoverable error occurs.
SearchEngineDataTypeController(const base::Closure& dump_stack,
@@ -28,7 +29,7 @@ class SearchEngineDataTypeController : public syncer::NonUIDataTypeController {
TemplateURLService::Subscription* GetSubscriptionForTesting();
private:
- // NonUIDataTypeController:
+ // AsyncDirectoryTypeController:
bool StartModels() override;
void StopModels() override;

Powered by Google App Engine
This is Rietveld 408576698