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

Unified Diff: chrome/browser/sync/protocol/proto_value_conversions.h

Issue 8399022: Add a couple of notifications related settings to app/extensions sync: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/protocol/proto_value_conversions.h
===================================================================
--- chrome/browser/sync/protocol/proto_value_conversions.h (revision 107300)
+++ chrome/browser/sync/protocol/proto_value_conversions.h (working copy)
@@ -13,6 +13,7 @@
}
namespace sync_pb {
+class AppNotificationSettings;
class AppNotificationSpecifics;
class AppSpecifics;
class AutofillProfileSpecifics;
@@ -54,6 +55,10 @@
base::DictionaryValue* EncryptedDataToValue(
const sync_pb::EncryptedData& encrypted_data);
+// Sub-protocol of AppSpecifics.
+base::DictionaryValue* AppSettingsToValue(
+ const sync_pb::AppNotificationSettings& app_notification_settings);
+
// Sub-protocols of SessionSpecifics.
base::DictionaryValue* SessionHeaderToValue(

Powered by Google App Engine
This is Rietveld 408576698