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

Side by Side Diff: chrome/browser/debugger/devtools_manager.h

Issue 6458004: Remove includes of message headers in headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 2010 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_DEBUGGER_DEVTOOLS_MANAGER_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_
6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "chrome/browser/debugger/devtools_client_host.h" 13 #include "chrome/browser/debugger/devtools_client_host.h"
14 #include "chrome/browser/debugger/devtools_toggle_action.h" 14 #include "chrome/browser/debugger/devtools_toggle_action.h"
15 #include "chrome/common/devtools_messages.h"
16 #include "webkit/glue/resource_loader_bridge.h" 15 #include "webkit/glue/resource_loader_bridge.h"
17 16
18 namespace IPC { 17 namespace IPC {
19 class Message; 18 class Message;
20 } 19 }
21 20
22 class DevToolsNetLogObserver; 21 class DevToolsNetLogObserver;
23 class GURL; 22 class GURL;
24 class IOThread; 23 class IOThread;
25 class PrefService; 24 class PrefService;
26 class RenderViewHost; 25 class RenderViewHost;
27 class TabContentsWraper; 26 class TabContentsWraper;
28 27
29 using webkit_glue::ResourceLoaderBridge; 28 using webkit_glue::ResourceLoaderBridge;
30 29
30 typedef std::map<std::string, std::string> DevToolsRuntimeProperties;
31
31 // This class is a singleton that manages DevToolsClientHost instances and 32 // This class is a singleton that manages DevToolsClientHost instances and
32 // routes messages between developer tools clients and agents. 33 // routes messages between developer tools clients and agents.
33 class DevToolsManager : public DevToolsClientHost::CloseListener, 34 class DevToolsManager : public DevToolsClientHost::CloseListener,
34 public base::RefCounted<DevToolsManager> { 35 public base::RefCounted<DevToolsManager> {
35 public: 36 public:
36 static DevToolsManager* GetInstance(); 37 static DevToolsManager* GetInstance();
37 38
38 static void RegisterUserPrefs(PrefService* prefs); 39 static void RegisterUserPrefs(PrefService* prefs);
39 40
40 DevToolsManager(); 41 DevToolsManager();
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 typedef std::map<int, 154 typedef std::map<int,
154 std::pair<DevToolsClientHost*, DevToolsRuntimeProperties> > 155 std::pair<DevToolsClientHost*, DevToolsRuntimeProperties> >
155 OrphanClientHosts; 156 OrphanClientHosts;
156 OrphanClientHosts orphan_client_hosts_; 157 OrphanClientHosts orphan_client_hosts_;
157 int last_orphan_cookie_; 158 int last_orphan_cookie_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(DevToolsManager); 160 DISALLOW_COPY_AND_ASSIGN(DevToolsManager);
160 }; 161 };
161 162
162 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ 163 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/debugger/devtools_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698