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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h

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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_FAKE_DRIVE_UPLOADER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_FAKE_DRIVE_UPLOADER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_FAKE_DRIVE_UPLOADER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_FAKE_DRIVE_UPLOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/drive/drive_uploader.h"
14 #include "chrome/browser/drive/fake_drive_service.h"
15 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe r.h" 13 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe r.h"
14 #include "components/drive/drive_uploader.h"
15 #include "components/drive/service/fake_drive_service.h"
16 #include "google_apis/drive/drive_api_error_codes.h" 16 #include "google_apis/drive/drive_api_error_codes.h"
17 #include "google_apis/drive/test_util.h" 17 #include "google_apis/drive/test_util.h"
18 #include "net/base/escape.h" 18 #include "net/base/escape.h"
19 19
20 namespace sync_file_system { 20 namespace sync_file_system {
21 namespace drive_backend { 21 namespace drive_backend {
22 22
23 class FakeDriveServiceWrapper : public drive::FakeDriveService { 23 class FakeDriveServiceWrapper : public drive::FakeDriveService {
24 public: 24 public:
25 FakeDriveServiceWrapper(); 25 FakeDriveServiceWrapper();
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 FakeDriveServiceWrapper* fake_drive_service_; 82 FakeDriveServiceWrapper* fake_drive_service_;
83 bool make_file_conflict_; 83 bool make_file_conflict_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(FakeDriveUploader); 85 DISALLOW_COPY_AND_ASSIGN(FakeDriveUploader);
86 }; 86 };
87 87
88 } // namespace drive_backend 88 } // namespace drive_backend
89 } // namespace sync_file_system 89 } // namespace sync_file_system
90 90
91 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_FAKE_DRIVE_UPLOADER_H_ 91 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_FAKE_DRIVE_UPLOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698