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

Unified Diff: remoting/test/app_remoting_connected_client_fixture.h

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
Index: remoting/test/app_remoting_connected_client_fixture.h
diff --git a/remoting/test/app_remoting_connected_client_fixture.h b/remoting/test/app_remoting_connected_client_fixture.h
index 2b9e209942b77fbfd9eec3fdb421b4928ab845e2..88b623e1d3f38686458d7356c6a58d51c5bb8502 100644
--- a/remoting/test/app_remoting_connected_client_fixture.h
+++ b/remoting/test/app_remoting_connected_client_fixture.h
@@ -5,11 +5,11 @@
#ifndef REMOTING_TEST_APP_REMOTING_CONNECTED_CLIENT_FIXTURE_H_
#define REMOTING_TEST_APP_REMOTING_CONNECTED_CLIENT_FIXTURE_H_
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
#include "remoting/test/remote_connection_observer.h"
@@ -63,17 +63,17 @@ class AppRemotingConnectedClientFixture
const RemoteApplicationDetails& application_details_;
// Used to run the thread's message loop.
- scoped_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<base::RunLoop> run_loop_;
// Used for setting timeouts and delays.
- scoped_ptr<base::Timer> timer_;
+ std::unique_ptr<base::Timer> timer_;
// Used to ensure RemoteConnectionObserver methods are called on the same
// thread.
base::ThreadChecker thread_checker_;
// Creates and manages the connection to the remote host.
- scoped_ptr<AppRemotingConnectionHelper> connection_helper_;
+ std::unique_ptr<AppRemotingConnectionHelper> connection_helper_;
// Called when an ExtensionMessage is received from the host.
HostMessageReceivedCallback host_message_received_callback_;
« no previous file with comments | « remoting/test/access_token_fetcher_unittest.cc ('k') | remoting/test/app_remoting_connected_client_fixture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698