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

Unified Diff: components/sync/protocol/model_type_store_schema_descriptor.proto

Issue 2426613003: [sync] Add store version to model type store backend (Closed)
Patch Set: Created 4 years, 2 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/sync/protocol/model_type_store_schema_descriptor.proto
diff --git a/components/sync/protocol/model_type_store_schema_descriptor.proto b/components/sync/protocol/model_type_store_schema_descriptor.proto
new file mode 100644
index 0000000000000000000000000000000000000000..fb94861cc791693ec70cef24e51bf94effacd3aa
--- /dev/null
+++ b/components/sync/protocol/model_type_store_schema_descriptor.proto
@@ -0,0 +1,19 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
maxbogue 2016/10/18 00:17:51 don't need the "(c) "
Patrick Noland 2016/10/20 19:15:59 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Protocol messages used to record the state of the model type store for USS.
+// At the time of writing, the model type store uses leveldb, a schemaless
+// key-value store. This means that the database's schema is mostly implicit.
+// This descriptor isn't intended to fully describe the schema, just keep track
+// of which major changes have been applied.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package sync_pb;
+
+message ModelTypeStoreSchemaDescriptor {
+ optional int64 version_number = 1;
+}

Powered by Google App Engine
This is Rietveld 408576698