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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 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_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
8 7
9 #include <string> 8 #include <string>
10 #include <vector> 9 #include <vector>
11 10
12 namespace content { 11 namespace content {
13 12
14 class WebContents; 13 class WebContents;
15 14
16 class DevToolsHttpHandlerDelegate { 15 class DevToolsHttpHandlerDelegate {
17 public: 16 public:
18 virtual ~DevToolsHttpHandlerDelegate() {} 17 virtual ~DevToolsHttpHandlerDelegate() {}
19 18
20 // Should return discovery page HTML that should list available tabs 19 // Should return discovery page HTML that should list available tabs
21 // and provide attach links. Called on the IO thread. 20 // and provide attach links. Called on the IO thread.
22 virtual std::string GetDiscoveryPageHTML() = 0; 21 virtual std::string GetDiscoveryPageHTML() = 0;
23 22
24 // Returns true if and only if frontend resources are bundled. 23 // Returns true if and only if frontend resources are bundled.
25 virtual bool BundlesFrontendResources() = 0; 24 virtual bool BundlesFrontendResources() = 0;
26 25
27 // Returns URL that front-end files are available at, empty string if 26 // Returns URL that front-end files are available at, empty string if
28 // no internal server is available. 27 // no internal server is available.
29 virtual std::string GetFrontendResourcesBaseURL() = 0; 28 virtual std::string GetFrontendResourcesBaseURL() = 0;
30 }; 29 };
31 30
32 } // namespace content 31 } // namespace content
33 32
34 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 33 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/devtools_http_handler.h ('k') | content/public/browser/devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698