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

Unified Diff: remoting/test/access_token_fetcher_unittest.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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 | « remoting/test/access_token_fetcher.cc ('k') | remoting/test/app_remoting_connected_client_fixture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/access_token_fetcher_unittest.cc
diff --git a/remoting/test/access_token_fetcher_unittest.cc b/remoting/test/access_token_fetcher_unittest.cc
index 4ada637a6078b279587778ddcafa5140894e73c6..ebdd36ad01e83976187351bd3a1715419b2c7206 100644
--- a/remoting/test/access_token_fetcher_unittest.cc
+++ b/remoting/test/access_token_fetcher_unittest.cc
@@ -79,7 +79,7 @@ class AccessTokenFetcherTest : public ::testing::Test {
private:
net::FakeURLFetcherFactory url_fetcher_factory_;
- scoped_ptr<base::MessageLoopForIO> message_loop_;
+ std::unique_ptr<base::MessageLoopForIO> message_loop_;
DISALLOW_COPY_AND_ASSIGN(AccessTokenFetcherTest);
};
@@ -174,7 +174,7 @@ TEST_F(AccessTokenFetcherTest, MultipleAccessTokenCalls) {
kValidTokenInfoResponse, net::HTTP_OK,
net::URLRequestStatus::SUCCESS);
- scoped_ptr<base::RunLoop> run_loop;
+ std::unique_ptr<base::RunLoop> run_loop;
run_loop.reset(new base::RunLoop());
AccessTokenCallback access_token_callback =
base::Bind(&AccessTokenFetcherTest::OnAccessTokenRetrieved,
« no previous file with comments | « remoting/test/access_token_fetcher.cc ('k') | remoting/test/app_remoting_connected_client_fixture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698