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

Unified Diff: sync/internal_api/public/base/attachment_id_proto.h

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/public/base/DEPS ('k') | sync/internal_api/public/base/attachment_id_proto.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/base/attachment_id_proto.h
diff --git a/sync/internal_api/public/base/attachment_id_proto.h b/sync/internal_api/public/base/attachment_id_proto.h
deleted file mode 100644
index f2b49b50d41fa4774bdb5ec6d1760a5582d70332..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/base/attachment_id_proto.h
+++ /dev/null
@@ -1,36 +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.
-
-#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_ATTACHMENT_ID_PROTO_H_
-#define SYNC_INTERNAL_API_PUBLIC_BASE_ATTACHMENT_ID_PROTO_H_
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include "sync/base/sync_export.h"
-#include "sync/protocol/sync.pb.h"
-
-namespace syncer {
-
-// Helper functions that are logically part of sync_pb::AttachmentIdProto.
-
-// Creates a unique AttachmentIdProto.
-//
-// |size| is the size in bytes of the attachment identified by this proto.
-//
-// |crc32c| is the crc32c of the attachment identified by this proto.
-SYNC_EXPORT sync_pb::AttachmentIdProto CreateAttachmentIdProto(size_t size,
- uint32_t crc32c);
-
-// Creates an AttachmentMetadata object from a repeated field of
-// AttachmentIdProto objects.
-//
-// Note: each record in the AttachmentMetadata will be marked as "on the
-// server".
-SYNC_EXPORT sync_pb::AttachmentMetadata CreateAttachmentMetadata(
- const google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto>& ids);
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_BASE_ATTACHMENT_ID_PROTO_H_
« no previous file with comments | « sync/internal_api/public/base/DEPS ('k') | sync/internal_api/public/base/attachment_id_proto.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698