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

Unified Diff: sync/protocol/attachments.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/protocol/article_specifics.proto ('k') | sync/protocol/autofill_specifics.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/attachments.proto
diff --git a/sync/protocol/attachments.proto b/sync/protocol/attachments.proto
deleted file mode 100644
index 986e29fced4f6e87a4b9c2ea23970781a7a20dc3..0000000000000000000000000000000000000000
--- a/sync/protocol/attachments.proto
+++ /dev/null
@@ -1,40 +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.
-//
-// Sync protocol for attachments.
-
-// Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change any
-// fields in this file.
-
-syntax = "proto2";
-
-option optimize_for = LITE_RUNTIME;
-option retain_unknown_fields = true;
-
-package sync_pb;
-
-// Identifies an attachment.
-message AttachmentIdProto {
- // Uniquely identifies the attachment. Two attachments with the same unique_id
- // are considered equivalent.
- optional string unique_id = 1;
- // Size of the attachment data in bytes.
- optional uint64 size_bytes = 2;
- // Crc32c of the attachment data.
- optional uint32 crc32c = 3;
-}
-
-// Metadata for a single attachment.
-message AttachmentMetadataRecord {
- optional AttachmentIdProto id = 1;
- // Indicates we know this attachment exists on the server.
- optional bool is_on_server = 2;
-}
-
-// A collection of attachment metadata. This proto is part of EntryKernel's "on
-// disk" representation. Private to sync.
-message AttachmentMetadata {
- // One record per attachment.
- repeated AttachmentMetadataRecord record = 1;
-}
« no previous file with comments | « sync/protocol/article_specifics.proto ('k') | sync/protocol/autofill_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698