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

Side by Side Diff: content/browser/devtools/devtools_http_handler_impl.h

Issue 349033009: DevTools: Added service workers to chrome://inspect/#devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added URLs Created 6 years, 5 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
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 CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void OnWebSocketMessageUI(int connection_id, const std::string& data); 75 void OnWebSocketMessageUI(int connection_id, const std::string& data);
76 void OnCloseUI(int connection_id); 76 void OnCloseUI(int connection_id);
77 77
78 void ResetHandlerThread(); 78 void ResetHandlerThread();
79 void ResetHandlerThreadAndRelease(); 79 void ResetHandlerThreadAndRelease();
80 80
81 void OnTargetListReceived( 81 void OnTargetListReceived(
82 int connection_id, 82 int connection_id,
83 const std::string& host, 83 const std::string& host,
84 const DevToolsHttpHandlerDelegate::TargetList& targets); 84 const DevToolsHttpHandlerDelegate::TargetList& targets);
85 void OnServiceWorkersReceived(
86 int connection_id,
87 const std::string& host,
88 const DevToolsHttpHandlerDelegate::TargetList& targets,
89 const DevToolsHttpHandlerDelegate::TargetList& service_workers);
85 90
86 DevToolsTarget* GetTarget(const std::string& id); 91 DevToolsTarget* GetTarget(const std::string& id);
87 92
88 void Init(); 93 void Init();
89 void Teardown(); 94 void Teardown();
90 95
91 void StartHandlerThread(); 96 void StartHandlerThread();
92 void StopHandlerThread(); 97 void StopHandlerThread();
93 98
94 void WriteActivePortToUserProfile(); 99 void WriteActivePortToUserProfile();
(...skipping 30 matching lines...) Expand all
125 base::FilePath active_port_output_directory_; 130 base::FilePath active_port_output_directory_;
126 typedef std::map<std::string, DevToolsTarget*> TargetMap; 131 typedef std::map<std::string, DevToolsTarget*> TargetMap;
127 TargetMap target_map_; 132 TargetMap target_map_;
128 scoped_refptr<DevToolsBrowserTarget> browser_target_; 133 scoped_refptr<DevToolsBrowserTarget> browser_target_;
129 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl); 134 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl);
130 }; 135 };
131 136
132 } // namespace content 137 } // namespace content
133 138
134 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 139 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698