ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / content / public / browser / devtools_http_handler_delegate.h
blob4f96413e63610e5bf33f725d3f31af6314ce5c7e
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
8 #include <string>
9 #include <vector>
11 #include "base/files/file_path.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "net/socket/server_socket.h"
15 namespace content {
17 class DevToolsTarget;
19 class DevToolsHttpHandlerDelegate {
20 public:
21 virtual ~DevToolsHttpHandlerDelegate() {}
23 // Should return discovery page HTML that should list available tabs
24 // and provide attach links.
25 virtual std::string GetDiscoveryPageHTML() = 0;
27 // Returns true if and only if frontend resources are bundled.
28 virtual bool BundlesFrontendResources() = 0;
30 // Returns path to the front-end files on the local filesystem for debugging.
31 virtual base::FilePath GetDebugFrontendDir() = 0;
34 } // namespace content
36 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_