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

Side by Side Diff: headless/lib/browser/headless_devtools_manager_delegate.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_MANAGER_DELEGATE_H_ 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_MANAGER_DELEGATE_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_MANAGER_DELEGATE_H_ 6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_MANAGER_DELEGATE_H_
7 7
8 #include "content/public/browser/devtools_manager_delegate.h" 8 #include "content/public/browser/devtools_manager_delegate.h"
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 13
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 16
17 namespace headless { 17 namespace headless {
18 class HeadlessBrowserImpl; 18 class HeadlessBrowserImpl;
19 class HeadlessBrowserContext; 19 class HeadlessBrowserContext;
20 class HeadlessWebContentsImpl;
21 20
22 class HeadlessDevToolsManagerDelegate 21 class HeadlessDevToolsManagerDelegate
23 : public content::DevToolsManagerDelegate { 22 : public content::DevToolsManagerDelegate {
24 public: 23 public:
25 explicit HeadlessDevToolsManagerDelegate( 24 explicit HeadlessDevToolsManagerDelegate(
26 base::WeakPtr<HeadlessBrowserImpl> browser); 25 base::WeakPtr<HeadlessBrowserImpl> browser);
27 ~HeadlessDevToolsManagerDelegate() override; 26 ~HeadlessDevToolsManagerDelegate() override;
28 27
29 // DevToolsManagerDelegate implementation: 28 // DevToolsManagerDelegate implementation:
30 base::DictionaryValue* HandleCommand(content::DevToolsAgentHost* agent_host, 29 base::DictionaryValue* HandleCommand(content::DevToolsAgentHost* agent_host,
(...skipping 16 matching lines...) Expand all
47 HeadlessDevToolsManagerDelegate::*)(const base::DictionaryValue* params); 46 HeadlessDevToolsManagerDelegate::*)(const base::DictionaryValue* params);
48 47
49 std::map<std::string, CommandMemberFnPtr> command_map_; 48 std::map<std::string, CommandMemberFnPtr> command_map_;
50 49
51 HeadlessBrowserContext* default_browser_context_; 50 HeadlessBrowserContext* default_browser_context_;
52 }; 51 };
53 52
54 } // namespace headless 53 } // namespace headless
55 54
56 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_MANAGER_DELEGATE_H_ 55 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_content_browser_client.h ('k') | headless/lib/browser/headless_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698