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

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

Issue 9113079: DevTools: refactor remote debugging server to enable content_shell debugging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing. Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 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 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_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 14 matching lines...) Expand all
25 // Should return the list of inspectable tabs. Called on the UI thread. 25 // Should return the list of inspectable tabs. Called on the UI thread.
26 virtual InspectableTabs GetInspectableTabs() = 0; 26 virtual InspectableTabs GetInspectableTabs() = 0;
27 27
28 // Should return discovery page HTML that should list available tabs 28 // Should return discovery page HTML that should list available tabs
29 // and provide attach links. Called on the IO thread. 29 // and provide attach links. Called on the IO thread.
30 virtual std::string GetDiscoveryPageHTML() = 0; 30 virtual std::string GetDiscoveryPageHTML() = 0;
31 31
32 // Should return URL request context for issuing requests against devtools 32 // Should return URL request context for issuing requests against devtools
33 // webui or NULL if no context is available. Called on the IO thread. 33 // webui or NULL if no context is available. Called on the IO thread.
34 virtual net::URLRequestContext* GetURLRequestContext() = 0; 34 virtual net::URLRequestContext* GetURLRequestContext() = 0;
35
36 // Returns true if and only if frontend resources are bundled.
37 virtual bool BundlesFrontendResources() = 0;
38
39 // Returns URL that front-end files are available at, empty string if
40 // no internal server is available.
41 virtual std::string GetFrontendResourcesBaseURL() = 0;
35 }; 42 };
36 43
37 } // namespace content 44 } // namespace content
38 45
39 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 46 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698