Index: chrome/browser/sync/glue/autofill_profile_data_type_controller.h |
diff --git a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8bb6e8e69b14b49eb99cd4c4c90fbf7b108bb575 |
--- /dev/null |
+++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h |
@@ -0,0 +1,39 @@ |
+// Copyright (c) 2010 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_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ |
+#define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ |
+#pragma once |
+ |
+#include "chrome/browser/sync/glue/autofill_data_type_controller.h" |
+#include "chrome/browser/sync/profile_sync_factory.h" |
+ |
+namespace browser_sync { |
+ |
+class AutofillProfileDataTypeController : public AutofillDataTypeController { |
+ public: |
+ AutofillProfileDataTypeController( |
+ ProfileSyncFactory* profile_sync_factory, |
+ Profile* profile, |
+ ProfileSyncService* sync_service); |
+ virtual ~AutofillProfileDataTypeController() {} |
+ |
+ virtual syncable::ModelType type() { |
+ return syncable::AUTOFILL_PROFILE; |
+ } |
+ |
+ virtual const char* name() const { |
+ // For logging only. |
+ return "autofill_profile"; |
+ } |
+ protected: |
+ virtual ProfileSyncFactory::SyncComponents CreateSyncComponents( |
+ ProfileSyncService* profile_sync_service, |
+ WebDatabase* web_database, |
+ PersonalDataManager* personal_data, |
+ browser_sync::UnrecoverableErrorHandler* error_handler); |
+}; |
+ |
+} // namespace browser_sync |
+ |
+#endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_PROFILE_DATA_TYPE_CONTROLLER_H_ |