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 CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 void PopulatePortStatus(const base::Value& status); | 89 void PopulatePortStatus(const base::Value& status); |
90 | 90 |
91 void ShowIncognitoWarning(); | 91 void ShowIncognitoWarning(); |
92 | 92 |
93 // A scoped container for notification registries. | 93 // A scoped container for notification registries. |
94 content::NotificationRegistrar notification_registrar_; | 94 content::NotificationRegistrar notification_registrar_; |
95 | 95 |
96 // A scoped container for preference change registries. | 96 // A scoped container for preference change registries. |
97 PrefChangeRegistrar pref_change_registrar_; | 97 PrefChangeRegistrar pref_change_registrar_; |
98 | 98 |
99 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap; | 99 std::map<std::string, std::unique_ptr<DevToolsTargetsUIHandler>> |
100 TargetHandlerMap target_handlers_; | 100 target_handlers_; |
101 | 101 |
102 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_; | 102 std::unique_ptr<PortForwardingStatusSerializer> port_status_serializer_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(InspectUI); | 104 DISALLOW_COPY_AND_ASSIGN(InspectUI); |
105 }; | 105 }; |
106 | 106 |
107 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ | 107 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ |
OLD | NEW |