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

Unified Diff: base/prefs/json.proto

Issue 25428002: LevelDBPrefStore Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: latest Created 6 years, 10 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
« no previous file with comments | « base/base.gyp ('k') | base/prefs/leveldb_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/json.proto
diff --git a/base/prefs/json.proto b/base/prefs/json.proto
new file mode 100644
index 0000000000000000000000000000000000000000..67946e3aa7a56da1f931706a612fc6eb559c16f4
--- /dev/null
+++ b/base/prefs/json.proto
@@ -0,0 +1,30 @@
+syntax = "proto2";
+
+package base_prefs;
+
+option optimize_for = LITE_RUNTIME;
+
+message JSONProto {
+ enum Type {
+ TYPE_NULL = 0;
+ TYPE_BOOLEAN = 1;
+ TYPE_INTEGER = 2;
+ TYPE_DOUBLE = 3;
+ TYPE_STRING = 4;
+ TYPE_BINARY = 5;
+ TYPE_DICTIONARY = 6;
+ TYPE_LIST = 7;
+ }
+ optional Type type = 1;
+ optional string json = 2;
+}
+
+message PrefValue {
+ enum Source {
+ USER = 0;
+ CODE = 1;
+ UNKNOWN = 2;
+ }
+ optional JSONProto json_proto = 1;
+ optional Source source = 2;
+}
« no previous file with comments | « base/base.gyp ('k') | base/prefs/leveldb_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698