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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/drive_uploader_wrapper.cc

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 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 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 #include "chrome/browser/sync_file_system/drive_backend/drive_uploader_wrapper.h " 5 #include "chrome/browser/sync_file_system/drive_backend/drive_uploader_wrapper.h "
6 6
7 #include "base/memory/weak_ptr.h" 7 #include "base/memory/weak_ptr.h"
8 #include "chrome/browser/drive/drive_uploader.h" 8 #include "components/drive/drive_uploader.h"
9 9
10 namespace sync_file_system { 10 namespace sync_file_system {
11 namespace drive_backend { 11 namespace drive_backend {
12 12
13 DriveUploaderWrapper::DriveUploaderWrapper( 13 DriveUploaderWrapper::DriveUploaderWrapper(
14 drive::DriveUploaderInterface* drive_uploader) 14 drive::DriveUploaderInterface* drive_uploader)
15 : drive_uploader_(drive_uploader) {} 15 : drive_uploader_(drive_uploader) {}
16 16
17 void DriveUploaderWrapper::UploadExistingFile( 17 void DriveUploaderWrapper::UploadExistingFile(
18 const std::string& resource_id, 18 const std::string& resource_id,
(...skipping 24 matching lines...) Expand all
43 local_file_path, 43 local_file_path,
44 title, 44 title,
45 content_type, 45 content_type,
46 options, 46 options,
47 callback, 47 callback,
48 google_apis::ProgressCallback()); 48 google_apis::ProgressCallback());
49 } 49 }
50 50
51 } // namespace drive_backend 51 } // namespace drive_backend
52 } // namespace sync_file_system 52 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698