OLD | NEW |
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_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
12 #include "content/public/browser/devtools_manager_delegate.h" | 13 #include "content/public/browser/devtools_manager_delegate.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 class DevToolsAgentHostImpl; | 17 class DevToolsAgentHostImpl; |
17 | 18 |
18 // This class is a singleton that manage global DevTools state for the whole | 19 // This class is a singleton that manage global DevTools state for the whole |
19 // browser. | 20 // browser. |
(...skipping 16 matching lines...) Loading... |
36 | 37 |
37 scoped_ptr<DevToolsManagerDelegate> delegate_; | 38 scoped_ptr<DevToolsManagerDelegate> delegate_; |
38 int attached_hosts_count_; | 39 int attached_hosts_count_; |
39 | 40 |
40 DISALLOW_COPY_AND_ASSIGN(DevToolsManager); | 41 DISALLOW_COPY_AND_ASSIGN(DevToolsManager); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace content | 44 } // namespace content |
44 | 45 |
45 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_ | 46 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_ |
OLD | NEW |