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

Side by Side Diff: content/shell/shell_devtools_delegate.cc

Issue 20142003: Remove ref-counting from StreamListenSocket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixup Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/shell_devtools_delegate.h" 5 #include "content/shell/shell_devtools_delegate.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 DevToolsHttpHandlerDelegate::TargetType 102 DevToolsHttpHandlerDelegate::TargetType
103 ShellDevToolsDelegate::GetTargetType(RenderViewHost*) { 103 ShellDevToolsDelegate::GetTargetType(RenderViewHost*) {
104 return kTargetTypeTab; 104 return kTargetTypeTab;
105 } 105 }
106 106
107 std::string ShellDevToolsDelegate::GetViewDescription( 107 std::string ShellDevToolsDelegate::GetViewDescription(
108 content::RenderViewHost*) { 108 content::RenderViewHost*) {
109 return std::string(); 109 return std::string();
110 } 110 }
111 111
112 scoped_refptr<net::StreamListenSocket> 112 scoped_ptr<net::StreamListenSocket>
113 ShellDevToolsDelegate::CreateSocketForTethering( 113 ShellDevToolsDelegate::CreateSocketForTethering(
114 net::StreamListenSocket::Delegate* delegate, 114 net::StreamListenSocket::Delegate* delegate,
115 std::string* name) { 115 std::string* name) {
116 return NULL; 116 return scoped_ptr<net::StreamListenSocket>();
117 } 117 }
118 118
119 } // namespace content 119 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698