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

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

Issue 456353002: DevTools: Removed unused method EmbeddedWorkerDevToolsManager::GetDevToolsAgentHostForServiceWorker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 4 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 | « no previous file | content/browser/devtools/embedded_worker_devtools_manager.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_EMBEDDED_WORKER_DEVTOOLS_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_EMBEDDED_WORKER_DEVTOOLS_MANAGER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_EMBEDDED_WORKER_DEVTOOLS_MANAGER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_EMBEDDED_WORKER_DEVTOOLS_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 30 matching lines...) Expand all
41 private: 41 private:
42 const ServiceWorkerContextCore* const service_worker_context_; 42 const ServiceWorkerContextCore* const service_worker_context_;
43 const int64 service_worker_version_id_; 43 const int64 service_worker_version_id_;
44 }; 44 };
45 45
46 // Returns the EmbeddedWorkerDevToolsManager singleton. 46 // Returns the EmbeddedWorkerDevToolsManager singleton.
47 static EmbeddedWorkerDevToolsManager* GetInstance(); 47 static EmbeddedWorkerDevToolsManager* GetInstance();
48 48
49 DevToolsAgentHost* GetDevToolsAgentHostForWorker(int worker_process_id, 49 DevToolsAgentHost* GetDevToolsAgentHostForWorker(int worker_process_id,
50 int worker_route_id); 50 int worker_route_id);
51 DevToolsAgentHost* GetDevToolsAgentHostForServiceWorker(
52 const ServiceWorkerIdentifier& service_worker_id);
53 51
54 // Returns true when the worker must be paused on start because a DevTool 52 // Returns true when the worker must be paused on start because a DevTool
55 // window for the same former SharedWorkerInstance is still opened. 53 // window for the same former SharedWorkerInstance is still opened.
56 bool SharedWorkerCreated(int worker_process_id, 54 bool SharedWorkerCreated(int worker_process_id,
57 int worker_route_id, 55 int worker_route_id,
58 const SharedWorkerInstance& instance); 56 const SharedWorkerInstance& instance);
59 // Returns true when the worker must be paused on start because a DevTool 57 // Returns true when the worker must be paused on start because a DevTool
60 // window for the same former ServiceWorkerIdentifier is still opened or 58 // window for the same former ServiceWorkerIdentifier is still opened or
61 // debug-on-start is enabled in chrome://serviceworker-internals. 59 // debug-on-start is enabled in chrome://serviceworker-internals.
62 bool ServiceWorkerCreated(int worker_process_id, 60 bool ServiceWorkerCreated(int worker_process_id,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 AgentHostMap workers_; 97 AgentHostMap workers_;
100 98
101 bool debug_service_worker_on_start_; 99 bool debug_service_worker_on_start_;
102 100
103 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsManager); 101 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsManager);
104 }; 102 };
105 103
106 } // namespace content 104 } // namespace content
107 105
108 #endif // CONTENT_BROWSER_DEVTOOLS_EMBEDDED_WORKER_DEVTOOLS_MANAGER_H_ 106 #endif // CONTENT_BROWSER_DEVTOOLS_EMBEDDED_WORKER_DEVTOOLS_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/embedded_worker_devtools_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698