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

Unified Diff: content/public/browser/devtools_http_handler_delegate.h

Issue 20142003: Remove ref-counting from StreamListenSocket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 4 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 | « content/browser/devtools/tethering_handler.cc ('k') | content/shell/browser/shell_devtools_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_http_handler_delegate.h
diff --git a/content/public/browser/devtools_http_handler_delegate.h b/content/public/browser/devtools_http_handler_delegate.h
index 4476a17bd55039b055dd63b1807ba373f735b87c..3e1d6412820eb17923b1b366d2b8eb33d1b42c1c 100644
--- a/content/public/browser/devtools_http_handler_delegate.h
+++ b/content/public/browser/devtools_http_handler_delegate.h
@@ -9,7 +9,7 @@
#include <vector>
#include "base/files/file_path.h"
-#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "net/socket/stream_listen_socket.h"
class GURL;
@@ -52,7 +52,7 @@ class DevToolsHttpHandlerDelegate {
// Creates named socket for reversed tethering implementation (used with
// remote debugging, primarily for mobile).
- virtual scoped_refptr<net::StreamListenSocket> CreateSocketForTethering(
+ virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
net::StreamListenSocket::Delegate* delegate,
std::string* name) = 0;
};
« no previous file with comments | « content/browser/devtools/tethering_handler.cc ('k') | content/shell/browser/shell_devtools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698