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

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: GN fix 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..533332d5d011417ff241c0e86d97803319c4fb30
--- /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 doesn't understand it.
+ optional int32 schema_version = 1;
+}
« no previous file with comments | « sync/internal_api/attachments/proto/BUILD.gn ('k') | sync/internal_api/public/attachments/on_disk_attachment_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698