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

Side by Side Diff: chrome/browser/sync/protocol/proto_value_conversions.h

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Review #6 Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Keep this file in sync with the .proto files in this directory. 5 // Keep this file in sync with the .proto files in this directory.
6 6
7 #ifndef CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 7 #ifndef CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
8 #define CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 8 #define CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
9 #pragma once 9 #pragma once
10 10
11 namespace base { 11 namespace base {
12 class DictionaryValue; 12 class DictionaryValue;
13 } 13 }
14 14
15 namespace sync_pb { 15 namespace sync_pb {
16 class AppSpecifics; 16 class AppSpecifics;
17 class AutofillProfileSpecifics; 17 class AutofillProfileSpecifics;
18 class AutofillSpecifics; 18 class AutofillSpecifics;
19 class BookmarkSpecifics; 19 class BookmarkSpecifics;
20 class EncryptedData; 20 class EncryptedData;
21 class EntitySpecifics; 21 class EntitySpecifics;
22 class ExtensionSettingSpecifics;
22 class ExtensionSpecifics; 23 class ExtensionSpecifics;
23 class NigoriSpecifics; 24 class NigoriSpecifics;
24 class PasswordSpecifics; 25 class PasswordSpecifics;
25 class PasswordSpecificsData; 26 class PasswordSpecificsData;
26 class PreferenceSpecifics; 27 class PreferenceSpecifics;
27 class SearchEngineSpecifics; 28 class SearchEngineSpecifics;
28 class SessionHeader; 29 class SessionHeader;
29 class SessionSpecifics; 30 class SessionSpecifics;
30 class SessionTab; 31 class SessionTab;
31 class SessionWindow; 32 class SessionWindow;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 79
79 base::DictionaryValue* AutofillSpecificsToValue( 80 base::DictionaryValue* AutofillSpecificsToValue(
80 const sync_pb::AutofillSpecifics& autofill_specifics); 81 const sync_pb::AutofillSpecifics& autofill_specifics);
81 82
82 base::DictionaryValue* AutofillProfileSpecificsToValue( 83 base::DictionaryValue* AutofillProfileSpecificsToValue(
83 const sync_pb::AutofillProfileSpecifics& autofill_profile_specifics); 84 const sync_pb::AutofillProfileSpecifics& autofill_profile_specifics);
84 85
85 base::DictionaryValue* BookmarkSpecificsToValue( 86 base::DictionaryValue* BookmarkSpecificsToValue(
86 const sync_pb::BookmarkSpecifics& bookmark_specifics); 87 const sync_pb::BookmarkSpecifics& bookmark_specifics);
87 88
89 base::DictionaryValue* ExtensionSettingSpecificsToValue(
90 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics);
91
88 base::DictionaryValue* ExtensionSpecificsToValue( 92 base::DictionaryValue* ExtensionSpecificsToValue(
89 const sync_pb::ExtensionSpecifics& extension_specifics); 93 const sync_pb::ExtensionSpecifics& extension_specifics);
90 94
91 base::DictionaryValue* NigoriSpecificsToValue( 95 base::DictionaryValue* NigoriSpecificsToValue(
92 const sync_pb::NigoriSpecifics& nigori_specifics); 96 const sync_pb::NigoriSpecifics& nigori_specifics);
93 97
94 base::DictionaryValue* PasswordSpecificsToValue( 98 base::DictionaryValue* PasswordSpecificsToValue(
95 const sync_pb::PasswordSpecifics& password_specifics); 99 const sync_pb::PasswordSpecifics& password_specifics);
96 100
97 base::DictionaryValue* PreferenceSpecificsToValue( 101 base::DictionaryValue* PreferenceSpecificsToValue(
(...skipping 12 matching lines...) Expand all
110 const sync_pb::TypedUrlSpecifics& typed_url_specifics); 114 const sync_pb::TypedUrlSpecifics& typed_url_specifics);
111 115
112 // Any present extensions are mapped to sub-dictionary values with the 116 // Any present extensions are mapped to sub-dictionary values with the
113 // key equal to the extension name. 117 // key equal to the extension name.
114 base::DictionaryValue* EntitySpecificsToValue( 118 base::DictionaryValue* EntitySpecificsToValue(
115 const sync_pb::EntitySpecifics& entity_specifics); 119 const sync_pb::EntitySpecifics& entity_specifics);
116 120
117 } // namespace browser_sync 121 } // namespace browser_sync
118 122
119 #endif // CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 123 #endif // CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698