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

Unified Diff: chrome/browser/sync/profile_sync_service_data_type_provider.h

Issue 428143002: Sync: Add a SyncTypePreferenceProvider interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/profile_sync_service_data_type_provider.h
diff --git a/chrome/browser/sync/profile_sync_service_data_type_provider.h b/chrome/browser/sync/profile_sync_service_data_type_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..9de458933a0647e26203c81e26c78b9eeded7358
--- /dev/null
+++ b/chrome/browser/sync/profile_sync_service_data_type_provider.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2014 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_PROFILE_SYNC_SERVICE_DATA_TYPE_PROVIDER_H_
+#define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_DATA_TYPE_PROVIDER_H_
+
+#include "sync/internal_api/public/base/model_type.h"
+
+class ProfileSyncServiceDataTypeProvider {
+ public:
+ virtual syncer::ModelTypeSet GetRequiredSyncDataTypes() = 0;
+
+ protected:
+ virtual ~ProfileSyncServiceDataTypeProvider() {}
+};
+
+#endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_DATA_TYPE_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698