OLD | NEW |
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_SERVICE_WORKER_DEVTOOLS_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_SERVICE_WORKER_DEVTOOLS_MANAGER_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_SERVICE_WORKER_DEVTOOLS_MANAGER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_SERVICE_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 ServiceWorkerDevToolsManager(); | 104 ServiceWorkerDevToolsManager(); |
105 ~ServiceWorkerDevToolsManager(); | 105 ~ServiceWorkerDevToolsManager(); |
106 | 106 |
107 AgentHostMap::iterator FindExistingWorkerAgentHost( | 107 AgentHostMap::iterator FindExistingWorkerAgentHost( |
108 const ServiceWorkerIdentifier& service_worker_id); | 108 const ServiceWorkerIdentifier& service_worker_id); |
109 | 109 |
110 // Resets to its initial state as if newly created. | 110 // Resets to its initial state as if newly created. |
111 void ResetForTesting(); | 111 void ResetForTesting(); |
112 | 112 |
113 ObserverList<Observer> observer_list_; | 113 base::ObserverList<Observer> observer_list_; |
114 AgentHostMap workers_; | 114 AgentHostMap workers_; |
115 bool debug_service_worker_on_start_; | 115 bool debug_service_worker_on_start_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDevToolsManager); | 117 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDevToolsManager); |
118 }; | 118 }; |
119 | 119 |
120 } // namespace content | 120 } // namespace content |
121 | 121 |
122 #endif // CONTENT_BROWSER_DEVTOOLS_SERVICE_WORKER_DEVTOOLS_MANAGER_H_ | 122 #endif // CONTENT_BROWSER_DEVTOOLS_SERVICE_WORKER_DEVTOOLS_MANAGER_H_ |
OLD | NEW |