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

Side by Side Diff: content/shell/browser/shell_devtools_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, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_DELEGATE_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/browser/devtools_http_handler_delegate.h" 10 #include "content/public/browser/devtools_http_handler_delegate.h"
(...skipping 12 matching lines...) Expand all
23 void Stop(); 23 void Stop();
24 24
25 // DevToolsHttpProtocolHandler::Delegate overrides. 25 // DevToolsHttpProtocolHandler::Delegate overrides.
26 virtual std::string GetDiscoveryPageHTML() OVERRIDE; 26 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
27 virtual bool BundlesFrontendResources() OVERRIDE; 27 virtual bool BundlesFrontendResources() OVERRIDE;
28 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; 28 virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
29 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; 29 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
30 virtual RenderViewHost* CreateNewTarget() OVERRIDE; 30 virtual RenderViewHost* CreateNewTarget() OVERRIDE;
31 virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE; 31 virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE;
32 virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE; 32 virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE;
33 virtual scoped_refptr<net::StreamListenSocket> CreateSocketForTethering( 33 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
34 net::StreamListenSocket::Delegate* delegate, 34 net::StreamListenSocket::Delegate* delegate,
35 std::string* name) OVERRIDE; 35 std::string* name) OVERRIDE;
36 36
37 DevToolsHttpHandler* devtools_http_handler() { 37 DevToolsHttpHandler* devtools_http_handler() {
38 return devtools_http_handler_; 38 return devtools_http_handler_;
39 } 39 }
40 40
41 private: 41 private:
42 BrowserContext* browser_context_; 42 BrowserContext* browser_context_;
43 DevToolsHttpHandler* devtools_http_handler_; 43 DevToolsHttpHandler* devtools_http_handler_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate); 45 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate);
46 }; 46 };
47 47
48 } // namespace content 48 } // namespace content
49 49
50 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_DELEGATE_H_ 50 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/devtools_http_handler_delegate.h ('k') | content/shell/browser/shell_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698