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

Unified Diff: remoting/test/chromoting_test_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
« no previous file with comments | « remoting/test/chromoting_test_driver_environment_unittest.cc ('k') | remoting/test/codec_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/chromoting_test_fixture.h
diff --git a/remoting/test/chromoting_test_fixture.h b/remoting/test/chromoting_test_fixture.h
index c6a9fc58beedd066eb74a459b14209b450d39b9a..5293815d6954728bd1166e611257bfcdcd828251 100644
--- a/remoting/test/chromoting_test_fixture.h
+++ b/remoting/test/chromoting_test_fixture.h
@@ -5,8 +5,9 @@
#ifndef REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_
#define REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -40,7 +41,7 @@ class ChromotingTestFixture
protected:
// Observes and saves the times when a chromoting client changes its state.
- scoped_ptr<ConnectionTimeObserver> connection_time_observer_;
+ std::unique_ptr<ConnectionTimeObserver> connection_time_observer_;
private:
// testing::Test overrides.
@@ -53,7 +54,7 @@ class ChromotingTestFixture
void DestroyObserver();
// Creates and manages the connection to the remote host.
- scoped_ptr<TestChromotingClient> test_chromoting_client_;
+ std::unique_ptr<TestChromotingClient> test_chromoting_client_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « remoting/test/chromoting_test_driver_environment_unittest.cc ('k') | remoting/test/codec_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698