Index: components/autofill/core/browser/proto/autofill_sync.proto |
diff --git a/components/autofill/core/browser/proto/autofill_sync.proto b/components/autofill/core/browser/proto/autofill_sync.proto |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5ac161c04b561edc13efe619bf83daf0def37ae6 |
--- /dev/null |
+++ b/components/autofill/core/browser/proto/autofill_sync.proto |
@@ -0,0 +1,17 @@ |
+// Copyright 2016 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. |
+ |
+syntax = "proto2"; |
+ |
+option optimize_for = LITE_RUNTIME; |
+ |
+package autofill; |
+ |
+// Used to convert between autofill::AutofillKey and a std::string that can be |
+// passed to sync as storage key to uniquely identify an entity of ModelType |
+// syncer::AUTOFILL. |
+message AutofillSyncStorageKey { |
+ required string name = 1; |
Mathieu
2017/01/06 01:51:29
I don't particularly like "required" because I bel
skym
2017/01/06 18:29:04
I didn't realize that required was generally frown
|
+ required string value = 2; |
+} |