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

Unified Diff: sync/internal_api/attachments/proto/attachment_store.proto

Issue 647553009: Introduce AttachmentStore metadata record (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: sync/internal_api/attachments/proto/attachment_store.proto
diff --git a/sync/internal_api/attachments/proto/attachment_store.proto b/sync/internal_api/attachments/proto/attachment_store.proto
new file mode 100644
index 0000000000000000000000000000000000000000..790d72aab762570cec8abbd4a56e5122b2f29052
--- /dev/null
+++ b/sync/internal_api/attachments/proto/attachment_store.proto
@@ -0,0 +1,18 @@
+// Copyright 2014 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;
+option retain_unknown_fields = true;
+
+package attachment_store_pb;
+
+// Metadata for leveldb attachment store database.
+message AttachmentStoreMetadata {
+ // |schema_version| indicates format in which data is written in attachment
+ // store. Needed for upgrade and to prevent newer data from being loaded by
+ // older code that don't understand it.
maniscalco 2014/10/21 21:41:03 don't -> doesn't
pavely 2014/10/24 20:42:55 Done.
+ optional int32 schema_version = 1;
+}

Powered by Google App Engine
This is Rietveld 408576698