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

Side by Side Diff: sync/internal_api/public/attachments/attachment_service.h

Issue 1035573002: [Sync] Replace AttachmentIdSet with AttachmentIdList in interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // the server. 61 // the server.
62 // 62 //
63 // Assumes the attachments are already in the attachment store. 63 // Assumes the attachments are already in the attachment store.
64 // 64 //
65 // A request to upload attachments is persistent in that uploads will be 65 // A request to upload attachments is persistent in that uploads will be
66 // automatically retried if transient errors occur. 66 // automatically retried if transient errors occur.
67 // 67 //
68 // A request to upload attachments does not persist across restarts of Chrome. 68 // A request to upload attachments does not persist across restarts of Chrome.
69 // 69 //
70 // Invokes OnAttachmentUploaded on the Delegate (if provided). 70 // Invokes OnAttachmentUploaded on the Delegate (if provided).
71 virtual void UploadAttachments(const AttachmentIdSet& attachment_ids) = 0; 71 virtual void UploadAttachments(const AttachmentIdList& attachment_ids) = 0;
72 }; 72 };
73 73
74 } // namespace syncer 74 } // namespace syncer
75 75
76 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 76 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698