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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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
« no previous file with comments | « sync/internal_api/attachments/proto/BUILD.gn ('k') | sync/internal_api/attachments/task_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 7985df9fa08b8d333977c35b2db8cbd91d71bbff..0000000000000000000000000000000000000000
--- a/sync/internal_api/attachments/proto/attachment_store.proto
+++ /dev/null
@@ -1,38 +0,0 @@
-// 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 StoreMetadata {
- // |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;
-}
-
-// Metadata for attachment in attachment store. Storing metadata in separate
-// record from actual data allows us to enumerate attachments in the store
-// without incurring cost to read actual data. It also allows us to update
-// attachment metadata independent of the data.
-message RecordMetadata {
- // Size of attachment data. Useful for attachment store space management.
- optional int64 attachment_size = 1;
- // Crc32c of attachment data.
- optional fixed32 crc32c = 2;
-
- // Component enum mirrors values of AttachmentStore::Component.
- enum Component {
- UNKNOWN = 0;
- MODEL_TYPE = 1;
- SYNC = 2;
- }
- // Set of components that reference this attachment.
- repeated Component component = 3;
-}
« no previous file with comments | « sync/internal_api/attachments/proto/BUILD.gn ('k') | sync/internal_api/attachments/task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698