Index: chrome/browser/sync/glue/extension_setting_data_type_controller.h |
diff --git a/chrome/browser/sync/glue/extension_setting_data_type_controller.h b/chrome/browser/sync/glue/extension_setting_data_type_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e7ef01a58c30e9d5953d33e393fcc2f5e938772 |
--- /dev/null |
+++ b/chrome/browser/sync/glue/extension_setting_data_type_controller.h |
@@ -0,0 +1,41 @@ |
+// 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_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ |
+#define CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ |
+#pragma once |
+ |
+#include <string> |
+ |
+#include "base/compiler_specific.h" |
+#include "chrome/browser/sync/glue/frontend_data_type_controller.h" |
+ |
+namespace browser_sync { |
+ |
+class ExtensionSettingDataTypeController : public FrontendDataTypeController { |
akalin
2011/09/14 05:57:29
So this should be a NonFrontendDataTypeController,
not at google - send to devlin
2011/09/14 20:23:57
That would explain why the DCHECKs I originally ha
|
+ public: |
+ ExtensionSettingDataTypeController( |
+ ProfileSyncFactory* profile_sync_factory, |
+ Profile* profile, |
+ ProfileSyncService* sync_service); |
+ virtual ~ExtensionSettingDataTypeController(); |
+ |
+ // FrontendDataTypeController implementation. |
+ virtual syncable::ModelType type() const OVERRIDE; |
+ |
+ private: |
+ // FrontendDataTypeController implementations. |
+ virtual void CreateSyncComponents() OVERRIDE; |
+ virtual void RecordUnrecoverableError( |
+ const tracked_objects::Location& from_here, |
+ const std::string& message) OVERRIDE; |
+ virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE; |
+ virtual void RecordStartFailure(StartResult result) OVERRIDE; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ExtensionSettingDataTypeController); |
+}; |
+ |
+} // namespace browser_sync |
+ |
+#endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ |