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

Unified Diff: chrome/browser/google_apis/operation_runner.cc

Issue 16424004: google_apis: Rename base_operations.h/cc to base_requests.h/cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/google_apis/operation_runner.h ('k') | chrome/browser/google_apis/test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/operation_runner.cc
diff --git a/chrome/browser/google_apis/operation_runner.cc b/chrome/browser/google_apis/operation_runner.cc
index a4d5c0db9a759f5315a7f0a5f6eb433ab2e30d18..21be6fb3b7b5a7c161a7d0ef9e82aeb788ea0261 100644
--- a/chrome/browser/google_apis/operation_runner.cc
+++ b/chrome/browser/google_apis/operation_runner.cc
@@ -6,7 +6,7 @@
#include "base/bind.h"
#include "chrome/browser/google_apis/auth_service.h"
-#include "chrome/browser/google_apis/base_operations.h"
+#include "chrome/browser/google_apis/base_requests.h"
#include "content/public/browser/browser_thread.h"
using content::BrowserThread;
@@ -41,7 +41,7 @@ void OperationRunner::CancelAll() {
}
void OperationRunner::StartOperationWithRetry(
- AuthenticatedOperationInterface* operation) {
+ AuthenticatedRequestInterface* operation) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (!auth_service_->HasAccessToken()) {
@@ -60,7 +60,7 @@ void OperationRunner::StartOperationWithRetry(
}
void OperationRunner::OnAccessTokenFetched(
- const base::WeakPtr<AuthenticatedOperationInterface>& operation,
+ const base::WeakPtr<AuthenticatedRequestInterface>& operation,
GDataErrorCode code,
const std::string& /* access_token */) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -78,7 +78,7 @@ void OperationRunner::OnAccessTokenFetched(
}
void OperationRunner::RetryOperation(
- AuthenticatedOperationInterface* operation) {
+ AuthenticatedRequestInterface* operation) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
auth_service_->ClearAccessToken();
« no previous file with comments | « chrome/browser/google_apis/operation_runner.h ('k') | chrome/browser/google_apis/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698