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

Side by Side Diff: content/public/browser/devtools_http_handler.h

Issue 8554008: Add content API for DevTools HTTP handler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jam's comments addressed Created 9 years 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/content_browser.gypi ('k') | content/public/browser/devtools_http_handler_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_H_
7 #pragma once
8
9 #include <string>
10
11 #include "content/common/content_export.h"
12
13 namespace content {
14
15 class DevToolsHttpHandlerDelegate;
16
17 // This class is used for managing DevTools remote debugging server.
18 // Clients can connect to the specified ip:port and start debugging
19 // this browser.
20 class DevToolsHttpHandler {
21 public:
22 // Takes ownership over |delegate|.
23 CONTENT_EXPORT static DevToolsHttpHandler* Start(
24 const std::string& ip,
25 int port,
26 const std::string& frontend_url,
27 DevToolsHttpHandlerDelegate* delegate);
28
29 // Called from the main thread in order to stop protocol handler.
30 // Will schedule tear down task on the IO thread.
jam 2011/12/01 19:04:27 nit: no need to explain what the function does int
yurys 2011/12/02 06:43:00 Done.
31 virtual void Stop() = 0;
32
33 protected:
34 virtual ~DevToolsHttpHandler() {}
35 };
36
37 } // namespace content
38
39 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_H_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/devtools_http_handler_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698