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

Unified Diff: components/autofill/core/browser/proto/autofill_sync.proto

Issue 2598113002: [Sync] Use a proto to generate AutofillSyncStorageKey's storage keys. (Closed)
Patch Set: Rebased Created 3 years, 12 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: 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..0feb150949d68afa694edab9eb414231cd491966
--- /dev/null
+++ b/components/autofill/core/browser/proto/autofill_sync.proto
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
maxbogue 2017/01/04 01:42:45 2017! @_@
+// 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
+// given to Sync to uniquely identify an entity of ModelType syncer::AUTOFILL.
pavely 2017/01/04 18:09:56 Consider "given to Sync" => "passed to sync as sto
skym 2017/01/05 01:31:51 Done.
+message AutofillSyncStorageKey {
+ required string name = 1;
+ required string value = 2;
+}

Powered by Google App Engine
This is Rietveld 408576698