OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include "chrome/browser/drive/drive_service_interface.h" | 8 #include "chrome/browser/drive/drive_service_interface.h" |
9 #include "chrome/browser/google_apis/auth_service_interface.h" | 9 #include "google_apis/drive/auth_service_interface.h" |
10 | 10 |
11 namespace drive { | 11 namespace drive { |
12 | 12 |
13 // Dummy implementation of DriveServiceInterface. | 13 // Dummy implementation of DriveServiceInterface. |
14 // All functions do nothing, or return place holder values like 'true'. | 14 // All functions do nothing, or return place holder values like 'true'. |
15 class DummyDriveService : public DriveServiceInterface { | 15 class DummyDriveService : public DriveServiceInterface { |
16 public: | 16 public: |
17 DummyDriveService(); | 17 DummyDriveService(); |
18 virtual ~DummyDriveService(); | 18 virtual ~DummyDriveService(); |
19 | 19 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const std::string& directory_resource_id, | 143 const std::string& directory_resource_id, |
144 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 144 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
145 virtual google_apis::CancelCallback GetRemainingResourceList( | 145 virtual google_apis::CancelCallback GetRemainingResourceList( |
146 const GURL& next_link, | 146 const GURL& next_link, |
147 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 147 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
148 }; | 148 }; |
149 | 149 |
150 } // namespace drive | 150 } // namespace drive |
151 | 151 |
152 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ | 152 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |