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

Side by Side Diff: android_webview/browser/aw_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
« no previous file with comments | « no previous file | android_webview/browser/aw_devtools_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 void Stop(); 27 void Stop();
28 28
29 // DevToolsHttpProtocolHandler::Delegate overrides. 29 // DevToolsHttpProtocolHandler::Delegate overrides.
30 virtual std::string GetDiscoveryPageHTML() OVERRIDE; 30 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
31 virtual bool BundlesFrontendResources() OVERRIDE; 31 virtual bool BundlesFrontendResources() OVERRIDE;
32 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; 32 virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
33 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; 33 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
34 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE; 34 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE;
35 virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE; 35 virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE;
36 virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE; 36 virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE;
37 virtual scoped_refptr<net::StreamListenSocket> CreateSocketForTethering( 37 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
38 net::StreamListenSocket::Delegate* delegate, 38 net::StreamListenSocket::Delegate* delegate,
39 std::string* name) OVERRIDE; 39 std::string* name) OVERRIDE;
40 40
41 content::DevToolsHttpHandler* devtools_http_handler() { 41 content::DevToolsHttpHandler* devtools_http_handler() {
42 return devtools_http_handler_; 42 return devtools_http_handler_;
43 } 43 }
44 44
45 private: 45 private:
46 content::BrowserContext* browser_context_; 46 content::BrowserContext* browser_context_;
47 content::DevToolsHttpHandler* devtools_http_handler_; 47 content::DevToolsHttpHandler* devtools_http_handler_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDelegate); 49 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDelegate);
50 }; 50 };
51 51
52 } // namespace android_webview 52 } // namespace android_webview
53 53
54 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ 54 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698