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

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

Issue 318283002: Added new GCD/Privet interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 a11cef88edc0d14e058dc14d256006e33037f09a..ad012950ba2277a71cf756f41bb7b440f68641bc 100644
--- a/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
+++ b/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
@@ -59,11 +59,9 @@ class GCDApiFlowTest : public testing::Test {
EXPECT_CALL(*mock_delegate_, GetURL())
.WillRepeatedly(Return(
GURL("https://www.google.com/cloudprint/confirm?token=SomeToken")));
- gcd_flow_.reset(new GCDApiFlow(request_context_.get(),
- &token_service_,
- account_id_,
- delegate.PassAs<GCDApiFlow::Request>()));
- gcd_flow_->Start();
+ gcd_flow_.reset(
+ new GCDApiFlow(request_context_.get(), &token_service_, account_id_));
+ gcd_flow_->Start(delegate.PassAs<GCDApiFlow::Request>());
}
base::MessageLoopForUI loop_;
content::TestBrowserThread ui_thread_;

Powered by Google App Engine
This is Rietveld 408576698