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

Side by Side Diff: chrome/browser/ui/webui/inspect_ui.h

Issue 2442953002: Remove stl_util's deletion function use from chrome/. (Closed)
Patch Set: fix Created 4 years, 1 month 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) 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_icon_source.cc ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698