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

Unified Diff: chrome/browser/local_discovery/cloud_print_printer_list_unittest.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc
diff --git a/chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc b/chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc
index a2219f97909c4d95ae0a3a4bb39137288f9e20c2..3309073559b618ee7ad676982c3b52d64622b770 100644
--- a/chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc
+++ b/chrome/browser/local_discovery/cloud_print_printer_list_unittest.cc
@@ -41,7 +41,7 @@ class TestOAuth2TokenService : public OAuth2TokenService {
: request_context_(request_context) {
}
protected:
- virtual std::string GetRefreshToken() OVERRIDE {
+ virtual std::string GetRefreshToken(const std::string& account_id) OVERRIDE {
return "SampleToken";
}
@@ -73,6 +73,7 @@ class CloudPrintPrinterListTest : public testing::Test {
new CloudPrintPrinterList(request_context_.get(),
"http://SoMeUrL.com/cloudprint",
&token_service_,
+ "account_id",
&delegate_));
fallback_fetcher_factory_.reset(new net::TestURLFetcherFactory());
« no previous file with comments | « chrome/browser/local_discovery/cloud_print_printer_list.cc ('k') | chrome/browser/local_discovery/privet_confirm_api_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698