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

Unified Diff: chrome/browser/sync/glue/preference_data_type_controller.h

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/preference_data_type_controller.h
diff --git a/chrome/browser/sync/glue/preference_data_type_controller.h b/chrome/browser/sync/glue/preference_data_type_controller.h
deleted file mode 100644
index 6e45f779ba50d36e2229a410c8e8a9902cb4d9e1..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/preference_data_type_controller.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef CHROME_BROWSER_SYNC_GLUE_PREFERENCE_DATA_TYPE_CONTROLLER_H__
-#define CHROME_BROWSER_SYNC_GLUE_PREFERENCE_DATA_TYPE_CONTROLLER_H__
-#pragma once
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/sync/glue/generic_change_processor.h"
-#include "chrome/browser/sync/glue/frontend_data_type_controller.h"
-
-namespace browser_sync {
-
-class PreferenceDataTypeController : public FrontendDataTypeController {
- public:
- PreferenceDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile,
- ProfileSyncService* sync_service);
- virtual ~PreferenceDataTypeController();
-
- // FrontendDataTypeController implementation.
- virtual syncable::ModelType type() const OVERRIDE;
-
- protected:
- virtual GenericChangeProcessor* change_processor() const OVERRIDE;
-
- private:
- // FrontendDataTypeController implementations.
- virtual void CreateSyncComponents() OVERRIDE;
-
- scoped_ptr<GenericChangeProcessor> generic_change_processor_;
-
- DISALLOW_COPY_AND_ASSIGN(PreferenceDataTypeController);
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_GLUE_PREFERENCE_DATA_TYPE_CONTROLLER_H__

Powered by Google App Engine
This is Rietveld 408576698