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

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

Issue 568403002: Unify shared and service workers in chrome://inspect, remove service workers iframe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed review comments Created 6 years, 3 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
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 scoped_ptr<DevToolsTargetsUIHandler> handler); 80 scoped_ptr<DevToolsTargetsUIHandler> handler);
81 81
82 DevToolsTargetsUIHandler* FindTargetHandler( 82 DevToolsTargetsUIHandler* FindTargetHandler(
83 const std::string& source_id); 83 const std::string& source_id);
84 DevToolsTargetImpl* FindTarget(const std::string& source_id, 84 DevToolsTargetImpl* FindTarget(const std::string& source_id,
85 const std::string& target_id); 85 const std::string& target_id);
86 86
87 void PopulateTargets(const std::string& source_id, 87 void PopulateTargets(const std::string& source_id,
88 const base::ListValue& targets); 88 const base::ListValue& targets);
89 89
90 void ForceUpdateIfNeeded(const std::string& source_id,
91 const std::string& target_type);
92
90 void PopulatePortStatus(const base::Value& status); 93 void PopulatePortStatus(const base::Value& status);
91 94
92 void ShowIncognitoWarning(); 95 void ShowIncognitoWarning();
93 96
94 // A scoped container for notification registries. 97 // A scoped container for notification registries.
95 content::NotificationRegistrar notification_registrar_; 98 content::NotificationRegistrar notification_registrar_;
96 99
97 // A scoped container for preference change registries. 100 // A scoped container for preference change registries.
98 PrefChangeRegistrar pref_change_registrar_; 101 PrefChangeRegistrar pref_change_registrar_;
99 102
100 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap; 103 typedef std::map<std::string, DevToolsTargetsUIHandler*> TargetHandlerMap;
101 TargetHandlerMap target_handlers_; 104 TargetHandlerMap target_handlers_;
102 105
103 scoped_ptr<PortForwardingStatusSerializer> port_status_serializer_; 106 scoped_ptr<PortForwardingStatusSerializer> port_status_serializer_;
104 107
105 scoped_ptr<content::WebUI> serviceworker_webui_; 108 scoped_ptr<content::WebUI> serviceworker_webui_;
106 109
107 DISALLOW_COPY_AND_ASSIGN(InspectUI); 110 DISALLOW_COPY_AND_ASSIGN(InspectUI);
108 }; 111 };
109 112
110 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_ 113 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698