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

Side by Side Diff: components/drive/service/dummy_drive_service.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 (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 COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ 6 #define COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/drive/drive_service_interface.h" 10 #include "components/drive/service/drive_service_interface.h"
11 #include "google_apis/drive/auth_service_interface.h" 11 #include "google_apis/drive/auth_service_interface.h"
12 12
13 namespace drive { 13 namespace drive {
14 14
15 // Dummy implementation of DriveServiceInterface. 15 // Dummy implementation of DriveServiceInterface.
16 // All functions do nothing, or return place holder values like 'true'. 16 // All functions do nothing, or return place holder values like 'true'.
17 class DummyDriveService : public DriveServiceInterface { 17 class DummyDriveService : public DriveServiceInterface {
18 public: 18 public:
19 DummyDriveService(); 19 DummyDriveService();
20 ~DummyDriveService() override; 20 ~DummyDriveService() override;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 google_apis::CancelCallback AddPermission( 156 google_apis::CancelCallback AddPermission(
157 const std::string& resource_id, 157 const std::string& resource_id,
158 const std::string& email, 158 const std::string& email,
159 google_apis::drive::PermissionRole role, 159 google_apis::drive::PermissionRole role,
160 const google_apis::EntryActionCallback& callback) override; 160 const google_apis::EntryActionCallback& callback) override;
161 scoped_ptr<BatchRequestConfiguratorInterface> StartBatchRequest() override; 161 scoped_ptr<BatchRequestConfiguratorInterface> StartBatchRequest() override;
162 }; 162 };
163 163
164 } // namespace drive 164 } // namespace drive
165 165
166 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ 166 #endif // COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/drive/service/drive_service_interface.cc ('k') | components/drive/service/dummy_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698