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

Side by Side Diff: components/sync/core/attachments/attachment_downloader.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, 4 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_DOWNLOADER_H_ 5 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_H_
6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_DOWNLOADER_H_ 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "components/sync/api/attachments/attachment.h"
13 #include "components/sync/base/model_type.h"
14 #include "components/sync/base/sync_export.h"
12 #include "google_apis/gaia/oauth2_token_service_request.h" 15 #include "google_apis/gaia/oauth2_token_service_request.h"
13 #include "sync/api/attachments/attachment.h"
14 #include "sync/base/sync_export.h"
15 #include "sync/internal_api/public/base/model_type.h"
16 16
17 namespace net { 17 namespace net {
18 class URLRequestContextGetter; 18 class URLRequestContextGetter;
19 } // namespace net 19 } // namespace net
20 20
21 namespace syncer { 21 namespace syncer {
22 22
23 // AttachmentDownloader is responsible for downloading attachments from server. 23 // AttachmentDownloader is responsible for downloading attachments from server.
24 class SYNC_EXPORT AttachmentDownloader { 24 class SYNC_EXPORT AttachmentDownloader {
25 public: 25 public:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const std::string& account_id, 66 const std::string& account_id,
67 const OAuth2TokenService::ScopeSet scopes, 67 const OAuth2TokenService::ScopeSet scopes,
68 const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>& 68 const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>&
69 token_service_provider, 69 token_service_provider,
70 const std::string& store_birthday, 70 const std::string& store_birthday,
71 ModelType model_type); 71 ModelType model_type);
72 }; 72 };
73 73
74 } // namespace syncer 74 } // namespace syncer
75 75
76 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_DOWNLOADER_H_ 76 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_H_
OLDNEW
« no previous file with comments | « components/sync/core/activation_context.cc ('k') | components/sync/core/attachments/attachment_downloader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698