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

Unified Diff: chrome/browser/sync/glue/generic_ui_data_type_controller.cc

Issue 9395058: [Sync] Remove SyncableServiceAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 8 years, 10 months 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: chrome/browser/sync/glue/generic_ui_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/generic_ui_data_type_controller.cc b/chrome/browser/sync/glue/generic_ui_data_type_controller.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ce72a30451835403e8ee52a46bec1cba544809d3
--- /dev/null
+++ b/chrome/browser/sync/glue/generic_ui_data_type_controller.cc
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/sync/glue/generic_ui_data_type_controller.h"
+
+#include "chrome/browser/sync/syncable/model_type.h"
+
+using content::BrowserThread;
+
+namespace browser_sync {
+
+GenericUIDataTypeController::GenericUIDataTypeController(
+ syncable::ModelType type,
+ ProfileSyncComponentsFactory* profile_sync_factory,
+ Profile* profile,
+ ProfileSyncService* sync_service)
+ : UIDataTypeController(profile_sync_factory,
+ profile,
+ sync_service),
+ type_(type) {
akalin 2012/02/24 23:54:02 any particular reason why you can't just make UIDT
Nicolas Zea 2012/03/01 20:50:26 My main concern was that by having an implementati
+}
+
+GenericUIDataTypeController::~GenericUIDataTypeController() {
+}
+
+syncable::ModelType GenericUIDataTypeController::type() const {
+ return type_;
+}
+
+} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698