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

Unified Diff: chrome/browser/local_discovery/cloud_print_base_api_flow.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/cloud_print_base_api_flow.h
diff --git a/chrome/browser/local_discovery/cloud_print_base_api_flow.h b/chrome/browser/local_discovery/cloud_print_base_api_flow.h
index b60ecf1d766c9da6c44a0c15882007cbf2936b04..64915b235080a9731b187916c1535b76851392c9 100644
--- a/chrome/browser/local_discovery/cloud_print_base_api_flow.h
+++ b/chrome/browser/local_discovery/cloud_print_base_api_flow.h
@@ -44,6 +44,7 @@ class CloudPrintBaseApiFlow : public net::URLFetcherDelegate,
// Create an OAuth2-based confirmation.
CloudPrintBaseApiFlow(net::URLRequestContextGetter* request_context,
OAuth2TokenService* token_service_,
+ const std::string& account_id,
const GURL& automated_claim_url,
Delegate* delegate);
@@ -89,6 +90,7 @@ class CloudPrintBaseApiFlow : public net::URLFetcherDelegate,
scoped_ptr<OAuth2TokenService::Request> oauth_request_;
scoped_refptr<net::URLRequestContextGetter> request_context_;
OAuth2TokenService* token_service_;
+ std::string account_id_;
int user_index_;
std::string xsrf_token_;
GURL url_;

Powered by Google App Engine
This is Rietveld 408576698