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

Unified Diff: sync/internal_api/attachments/attachment_downloader.cc

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/DEPS ('k') | sync/internal_api/attachments/attachment_downloader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/attachments/attachment_downloader.cc
diff --git a/sync/internal_api/attachments/attachment_downloader.cc b/sync/internal_api/attachments/attachment_downloader.cc
deleted file mode 100644
index b46bb133534078f540976b86ce409f7f50726ee7..0000000000000000000000000000000000000000
--- a/sync/internal_api/attachments/attachment_downloader.cc
+++ /dev/null
@@ -1,34 +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.
-
-#include "sync/internal_api/public/attachments/attachment_downloader.h"
-
-#include <string>
-
-#include "sync/internal_api/public/attachments/attachment_downloader_impl.h"
-
-namespace syncer {
-
-AttachmentDownloader::~AttachmentDownloader() {
-}
-
-// Factory function for creating AttachmentDownloaderImpl.
-// It is introduced to avoid SYNC_EXPORT-ing AttachmentDownloaderImpl since it
-// inherits from OAuth2TokenService::Consumer which is not exported.
-std::unique_ptr<AttachmentDownloader> AttachmentDownloader::Create(
- const GURL& sync_service_url,
- const scoped_refptr<net::URLRequestContextGetter>&
- url_request_context_getter,
- const std::string& account_id,
- const OAuth2TokenService::ScopeSet scopes,
- const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>&
- token_service_provider,
- const std::string& store_birthday,
- ModelType model_type) {
- return std::unique_ptr<AttachmentDownloader>(new AttachmentDownloaderImpl(
- sync_service_url, url_request_context_getter, account_id, scopes,
- token_service_provider, store_birthday, model_type));
-}
-
-} // namespace syncer
« no previous file with comments | « sync/internal_api/attachments/DEPS ('k') | sync/internal_api/attachments/attachment_downloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698