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

Unified Diff: chrome/browser/drive/drive_api_service.cc

Issue 17385023: Get rid of RequestRegistry (part 2): remove cancellation methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused methods in RequestRegisty Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/drive/drive_api_service.h ('k') | chrome/browser/drive/drive_service_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_api_service.cc
diff --git a/chrome/browser/drive/drive_api_service.cc b/chrome/browser/drive/drive_api_service.cc
index 9ece6a009cee69358a435f04c63d26f9ce4051a2..85f7a8acd5b7f6fb506d03688c49df6753daff86 100644
--- a/chrome/browser/drive/drive_api_service.cc
+++ b/chrome/browser/drive/drive_api_service.cc
@@ -266,16 +266,6 @@ bool DriveAPIService::CanSendRequest() const {
return HasRefreshToken();
}
-void DriveAPIService::CancelAll() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- sender_->CancelAll();
-}
-
-bool DriveAPIService::CancelForFilePath(const base::FilePath& file_path) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- return sender_->request_registry()->CancelForFilePath(file_path);
-}
-
std::string DriveAPIService::CanonicalizeResourceId(
const std::string& resource_id) const {
return drive::util::CanonicalizeResourceId(resource_id);
« no previous file with comments | « chrome/browser/drive/drive_api_service.h ('k') | chrome/browser/drive/drive_service_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698