OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_V1_FAKE_DRIVE_UPLOADER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_FAKE_DRIVE_UPLOADER_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_FAKE_DRIVE_UPLOADER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_FAKE_DRIVE_UPLOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/file_util.h" | 10 #include "base/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" | 13 #include "chrome/browser/drive/drive_uploader.h" |
14 #include "chrome/browser/drive/fake_drive_service.h" | 14 #include "chrome/browser/drive/fake_drive_service.h" |
15 #include "chrome/browser/google_apis/gdata_errorcode.h" | |
16 #include "chrome/browser/google_apis/test_util.h" | |
17 #include "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_util.
h" | 15 #include "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_util.
h" |
18 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_service_he
lper.h" | 16 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_service_he
lper.h" |
| 17 #include "google_apis/drive/gdata_errorcode.h" |
| 18 #include "google_apis/drive/test_util.h" |
19 #include "net/base/escape.h" | 19 #include "net/base/escape.h" |
20 | 20 |
21 namespace sync_file_system { | 21 namespace sync_file_system { |
22 namespace drive_backend { | 22 namespace drive_backend { |
23 | 23 |
24 class FakeDriveServiceWrapper : public drive::FakeDriveService { | 24 class FakeDriveServiceWrapper : public drive::FakeDriveService { |
25 public: | 25 public: |
26 FakeDriveServiceWrapper(); | 26 FakeDriveServiceWrapper(); |
27 virtual ~FakeDriveServiceWrapper(); | 27 virtual ~FakeDriveServiceWrapper(); |
28 | 28 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 FakeDriveServiceWrapper* fake_drive_service_; | 79 FakeDriveServiceWrapper* fake_drive_service_; |
80 bool make_file_conflict_; | 80 bool make_file_conflict_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(FakeDriveUploader); | 82 DISALLOW_COPY_AND_ASSIGN(FakeDriveUploader); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace drive_backend | 85 } // namespace drive_backend |
86 } // namespace sync_file_system | 86 } // namespace sync_file_system |
87 | 87 |
88 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_FAKE_DRIVE_UPLOADER_
H_ | 88 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_FAKE_DRIVE_UPLOADER_
H_ |
OLD | NEW |