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

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

Issue 14301005: Android: Use a different socketname for devtools in content_browsertests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_browser_main_parts.cc ('k') | content/shell/shell_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 (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 #ifndef CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_
6 #define CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ 6 #define CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_
7 7
8 #include <vector>
9
10 #include "base/basictypes.h" 8 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
12 #include "content/public/browser/devtools_http_handler_delegate.h" 10 #include "content/public/browser/devtools_http_handler_delegate.h"
13 11
14 namespace content { 12 namespace content {
15 13
16 class BrowserContext; 14 class BrowserContext;
17 class DevToolsHttpHandler; 15 class DevToolsHttpHandler;
18 16
19 class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate { 17 class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
20 public: 18 public:
21 ShellDevToolsDelegate(BrowserContext* browser_context, int port); 19 explicit ShellDevToolsDelegate(BrowserContext* browser_context);
22 virtual ~ShellDevToolsDelegate(); 20 virtual ~ShellDevToolsDelegate();
23 21
24 // Stops http server. 22 // Stops http server.
25 void Stop(); 23 void Stop();
26 24
27 // DevToolsHttpProtocolHandler::Delegate overrides. 25 // DevToolsHttpProtocolHandler::Delegate overrides.
28 virtual std::string GetDiscoveryPageHTML() OVERRIDE; 26 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
29 virtual bool BundlesFrontendResources() OVERRIDE; 27 virtual bool BundlesFrontendResources() OVERRIDE;
30 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; 28 virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
31 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; 29 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
(...skipping 11 matching lines...) Expand all
43 private: 41 private:
44 BrowserContext* browser_context_; 42 BrowserContext* browser_context_;
45 DevToolsHttpHandler* devtools_http_handler_; 43 DevToolsHttpHandler* devtools_http_handler_;
46 44
47 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate); 45 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate);
48 }; 46 };
49 47
50 } // namespace content 48 } // namespace content
51 49
52 #endif // CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ 50 #endif // CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/shell_browser_main_parts.cc ('k') | content/shell/shell_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698