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

Unified Diff: chrome/browser/sync/protocol/app_specifics.proto

Issue 3072022: Added constants, strings, protos for app sync. (Closed)
Patch Set: Created 10 years, 4 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 | « chrome/browser/sync/engine/syncapi.cc ('k') | chrome/browser/sync/protocol/sync_proto.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/protocol/app_specifics.proto
diff --git a/chrome/browser/sync/protocol/app_specifics.proto b/chrome/browser/sync/protocol/app_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..e3206f0ef882cfecbe84e26d7f8ee955804a9dbf
--- /dev/null
+++ b/chrome/browser/sync/protocol/app_specifics.proto
@@ -0,0 +1,30 @@
+// 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.
+//
+// Sync protocol datatype extension for apps.
+
+syntax = "proto2";
+
+// TODO(akalin): Re-enable this once LITE_RUNTIME supports preserving
+// unknown fields.
+
+// option optimize_for = LITE_RUNTIME;
+
+package sync_pb;
+
+import "sync.proto";
+import "extension_specifics.proto";
+
+// Properties of app sync objects.
+//
+// For now, an app is just an extension. We keep the two data types
+// separate for future-proofing purposes.
+message AppSpecifics {
+ // Extension data.
+ optional ExtensionSpecifics extension = 1;
+}
+
+extend EntitySpecifics {
+ optional AppSpecifics app = 48364;
+}
« no previous file with comments | « chrome/browser/sync/engine/syncapi.cc ('k') | chrome/browser/sync/protocol/sync_proto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698