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

Side by Side Diff: chrome/browser/extensions/extension_devtools_bridge.h

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
12 #include "chrome/browser/debugger/devtools_client_host.h" 12 #include "chrome/browser/debugger/devtools_client_host.h"
13 #include "chrome/browser/extensions/extension_devtools_manager.h" 13 #include "chrome/browser/extensions/extension_devtools_manager.h"
14 #include "chrome/browser/extensions/extension_message_service.h" 14 #include "chrome/browser/extensions/extension_message_service.h"
15 15
16 class Profile; 16 class Profile;
17 struct DevToolsMessageData;
18 17
19 // This class is a DevToolsClientHost that fires extension events. 18 // This class is a DevToolsClientHost that fires extension events.
20 class ExtensionDevToolsBridge : public DevToolsClientHost { 19 class ExtensionDevToolsBridge : public DevToolsClientHost {
21 public: 20 public:
22 ExtensionDevToolsBridge(int tab_id, Profile* profile); 21 ExtensionDevToolsBridge(int tab_id, Profile* profile);
23 virtual ~ExtensionDevToolsBridge(); 22 virtual ~ExtensionDevToolsBridge();
24 23
25 bool RegisterAsDevToolsClientHost(); 24 bool RegisterAsDevToolsClientHost();
26 void UnregisterAsDevToolsClientHost(); 25 void UnregisterAsDevToolsClientHost();
27 26
(...skipping 19 matching lines...) Expand all
47 // The names of the events fired at extensions depend on the tab id, 46 // The names of the events fired at extensions depend on the tab id,
48 // so we store the various event names in each bridge. 47 // so we store the various event names in each bridge.
49 const std::string on_page_event_name_; 48 const std::string on_page_event_name_;
50 const std::string on_tab_close_event_name_; 49 const std::string on_tab_close_event_name_;
51 50
52 DISALLOW_COPY_AND_ASSIGN(ExtensionDevToolsBridge); 51 DISALLOW_COPY_AND_ASSIGN(ExtensionDevToolsBridge);
53 }; 52 };
54 53
55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
56 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698