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

Unified Diff: chrome/browser/local_discovery/gcd_api_flow_unittest.cc

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address final comments Created 5 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
Index: chrome/browser/local_discovery/gcd_api_flow_unittest.cc
diff --git a/chrome/browser/local_discovery/gcd_api_flow_unittest.cc b/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
index 4434cb1176b8ab88adc2877a190793afc0b6ac8c..9e8da41095d7c0f83c2d51be8ab7bf7bf23d929e 100644
--- a/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
+++ b/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
@@ -53,7 +53,8 @@ class GCDApiFlowTest : public testing::Test {
protected:
void SetUp() override {
- token_service_.set_request_context(request_context_.get());
+ token_service_.GetFakeOAuth2TokenServiceDelegate()->set_request_context(
+ request_context_.get());
token_service_.AddAccount(account_id_);
ui_thread_.Stop(); // HACK: Fake being on the UI thread

Powered by Google App Engine
This is Rietveld 408576698