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

Unified Diff: remoting/test/fake_network_manager.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/cyclic_frame_generator.cc ('k') | remoting/test/fake_port_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/fake_network_manager.h
diff --git a/remoting/test/fake_network_manager.h b/remoting/test/fake_network_manager.h
index 01da153ee64c629cef8d780d93ece64c1c484c47..cce6f9f74fa2b252b9ef01862099d1397e0eb132 100644
--- a/remoting/test/fake_network_manager.h
+++ b/remoting/test/fake_network_manager.h
@@ -5,7 +5,8 @@
#ifndef REMOTING_TEST_FAKE_NETWORK_MANAGER_H_
#define REMOTING_TEST_FAKE_NETWORK_MANAGER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/memory/weak_ptr.h"
#include "third_party/webrtc/base/network.h"
@@ -27,7 +28,7 @@ class FakeNetworkManager : public rtc::NetworkManager {
void SendNetworksChangedSignal();
bool started_;
- scoped_ptr<rtc::Network> network_;
+ std::unique_ptr<rtc::Network> network_;
base::WeakPtrFactory<FakeNetworkManager> weak_factory_;
};
« no previous file with comments | « remoting/test/cyclic_frame_generator.cc ('k') | remoting/test/fake_port_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698