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

Side by Side Diff: chrome/browser/drive/dummy_drive_service.cc

Issue 23382008: Making OAuth2TokenService multi-login aware, updating callers, minor fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to include the update to ProfileSyncService: r224220 Created 7 years, 3 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
« no previous file with comments | « chrome/browser/drive/dummy_drive_service.h ('k') | chrome/browser/drive/fake_drive_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/drive/dummy_drive_service.h" 5 #include "chrome/browser/drive/dummy_drive_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 8
9 using google_apis::AboutResourceCallback; 9 using google_apis::AboutResourceCallback;
10 using google_apis::AppListCallback; 10 using google_apis::AppListCallback;
(...skipping 16 matching lines...) Expand all
27 27
28 // Returns the argument string. 28 // Returns the argument string.
29 std::string Identity(const std::string& resource_id) { return resource_id; } 29 std::string Identity(const std::string& resource_id) { return resource_id; }
30 30
31 } // namespace 31 } // namespace
32 32
33 DummyDriveService::DummyDriveService() {} 33 DummyDriveService::DummyDriveService() {}
34 34
35 DummyDriveService::~DummyDriveService() {} 35 DummyDriveService::~DummyDriveService() {}
36 36
37 void DummyDriveService::Initialize() {} 37 void DummyDriveService::Initialize(const std::string& account_id) {}
38 38
39 void DummyDriveService::AddObserver(DriveServiceObserver* observer) {} 39 void DummyDriveService::AddObserver(DriveServiceObserver* observer) {}
40 40
41 void DummyDriveService::RemoveObserver(DriveServiceObserver* observer) {} 41 void DummyDriveService::RemoveObserver(DriveServiceObserver* observer) {}
42 42
43 bool DummyDriveService::CanSendRequest() const { return true; } 43 bool DummyDriveService::CanSendRequest() const { return true; }
44 44
45 ResourceIdCanonicalizer DummyDriveService::GetResourceIdCanonicalizer() const { 45 ResourceIdCanonicalizer DummyDriveService::GetResourceIdCanonicalizer() const {
46 return base::Bind(&Identity); 46 return base::Bind(&Identity);
47 } 47 }
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi( 199 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi(
200 const std::string& directory_resource_id, 200 const std::string& directory_resource_id,
201 const GetResourceListCallback& callback) { return CancelCallback(); } 201 const GetResourceListCallback& callback) { return CancelCallback(); }
202 202
203 CancelCallback DummyDriveService::GetRemainingResourceList( 203 CancelCallback DummyDriveService::GetRemainingResourceList(
204 const GURL& next_link, 204 const GURL& next_link,
205 const GetResourceListCallback& callback) { return CancelCallback(); } 205 const GetResourceListCallback& callback) { return CancelCallback(); }
206 206
207 } // namespace drive 207 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/drive/dummy_drive_service.h ('k') | chrome/browser/drive/fake_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698