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

Unified Diff: webrtc/base/httpserver.h

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased 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 | « webrtc/base/httpcommon.h ('k') | webrtc/base/linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/httpserver.h
diff --git a/webrtc/base/httpserver.h b/webrtc/base/httpserver.h
index 30c8f4c5516caf2067ac9dbc897d740153361d1a..c322e81790bed75e9dc5c69e2ccc6d470e14728a 100644
--- a/webrtc/base/httpserver.h
+++ b/webrtc/base/httpserver.h
@@ -12,6 +12,8 @@
#define WEBRTC_BASE_HTTPSERVER_H__
#include <map>
+#include <memory>
+
#include "webrtc/base/httpbase.h"
namespace rtc {
@@ -127,7 +129,7 @@ private:
void OnConnectionClosed(HttpServer* server, int connection_id,
StreamInterface* stream);
- scoped_ptr<AsyncSocket> listener_;
+ std::unique_ptr<AsyncSocket> listener_;
};
//////////////////////////////////////////////////////////////////////
« no previous file with comments | « webrtc/base/httpcommon.h ('k') | webrtc/base/linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698