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

Unified Diff: remoting/test/app_remoting_test_driver_environment_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/app_remoting_test_driver_environment.cc ('k') | remoting/test/chromoting_test_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/app_remoting_test_driver_environment_unittest.cc
diff --git a/remoting/test/app_remoting_test_driver_environment_unittest.cc b/remoting/test/app_remoting_test_driver_environment_unittest.cc
index 26546b377f4611ff9f086264196023e54228c437..6d2afc678e80f83e9bee71fff5093e9b39e03726 100644
--- a/remoting/test/app_remoting_test_driver_environment_unittest.cc
+++ b/remoting/test/app_remoting_test_driver_environment_unittest.cc
@@ -55,7 +55,7 @@ class AppRemotingTestDriverEnvironmentTest : public ::testing::Test {
FakeRemoteHostInfoFetcher fake_remote_host_info_fetcher_;
MockAccessTokenFetcher mock_access_token_fetcher_;
- scoped_ptr<AppRemotingTestDriverEnvironment> environment_object_;
+ std::unique_ptr<AppRemotingTestDriverEnvironment> environment_object_;
private:
DISALLOW_COPY_AND_ASSIGN(AppRemotingTestDriverEnvironmentTest);
@@ -80,7 +80,7 @@ void AppRemotingTestDriverEnvironmentTest::Initialize(
const AppRemotingTestDriverEnvironment::EnvironmentOptions& options) {
environment_object_.reset(new AppRemotingTestDriverEnvironment(options));
- scoped_ptr<FakeAccessTokenFetcher> fake_access_token_fetcher(
+ std::unique_ptr<FakeAccessTokenFetcher> fake_access_token_fetcher(
new FakeAccessTokenFetcher());
fake_access_token_fetcher_ = fake_access_token_fetcher.get();
mock_access_token_fetcher_.SetAccessTokenFetcher(
« no previous file with comments | « remoting/test/app_remoting_test_driver_environment.cc ('k') | remoting/test/chromoting_test_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698