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

Unified Diff: chrome/browser/chromeos/gdata/operation_runner.cc

Issue 10879061: Rename GDataOperationInterface to AuthenticatedOperationInterface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/chromeos/gdata/operation_runner.h ('k') | chrome/browser/chromeos/gdata/operations_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/operation_runner.cc
diff --git a/chrome/browser/chromeos/gdata/operation_runner.cc b/chrome/browser/chromeos/gdata/operation_runner.cc
index 6f31d1692094e0a90012b982315063648a4db77a..f75b0ef01ff800a96337307a75b3fee3ac5693be 100644
--- a/chrome/browser/chromeos/gdata/operation_runner.cc
+++ b/chrome/browser/chromeos/gdata/operation_runner.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/chromeos/gdata/operation_runner.h"
#include "base/bind.h"
-#include "chrome/browser/chromeos/gdata/gdata_operations.h"
+#include "chrome/browser/chromeos/gdata/operations_base.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_thread.h"
@@ -43,7 +43,7 @@ void OperationRunner::Authenticate(const AuthStatusCallback& callback) {
}
void OperationRunner::StartOperationWithRetry(
- GDataOperationInterface* operation) {
+ AuthenticatedOperationInterface* operation) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// The re-authenticatation callback will run on UI thread.
@@ -53,7 +53,8 @@ void OperationRunner::StartOperationWithRetry(
StartOperation(operation);
}
-void OperationRunner::StartOperation(GDataOperationInterface* operation) {
+void OperationRunner::StartOperation(
+ AuthenticatedOperationInterface* operation) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (!auth_service_->HasAccessToken()) {
@@ -70,7 +71,7 @@ void OperationRunner::StartOperation(GDataOperationInterface* operation) {
}
void OperationRunner::OnOperationAuthRefresh(
- GDataOperationInterface* operation,
+ AuthenticatedOperationInterface* operation,
GDataErrorCode code,
const std::string& auth_token) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -83,7 +84,8 @@ void OperationRunner::OnOperationAuthRefresh(
}
}
-void OperationRunner::RetryOperation(GDataOperationInterface* operation) {
+void OperationRunner::RetryOperation(
+ AuthenticatedOperationInterface* operation) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
auth_service_->ClearAccessToken();
« no previous file with comments | « chrome/browser/chromeos/gdata/operation_runner.h ('k') | chrome/browser/chromeos/gdata/operations_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698