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

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: [sync] Add store version to model type store backend 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..49c66ded8a1caa99c326a565dd3dd4336326da47
--- /dev/null
+++ b/components/sync/protocol/model_type_store_schema_descriptor.proto
@@ -0,0 +1,19 @@
+// 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.
+//
+// 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;
+}
« no previous file with comments | « components/sync/model_impl/model_type_store_backend_unittest.cc ('k') | components/sync/protocol/protocol_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698