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

Side by Side Diff: content/browser/shared_worker/shared_worker_service_impl.h

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: ready to review Created 3 years, 11 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 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_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const ViewHostMsg_CreateWorker_Params& params, 54 const ViewHostMsg_CreateWorker_Params& params,
55 int route_id, 55 int route_id,
56 SharedWorkerMessageFilter* filter, 56 SharedWorkerMessageFilter* filter,
57 ResourceContext* resource_context, 57 ResourceContext* resource_context,
58 const WorkerStoragePartitionId& partition_id); 58 const WorkerStoragePartitionId& partition_id);
59 void ConnectToWorker(SharedWorkerMessageFilter* filter, 59 void ConnectToWorker(SharedWorkerMessageFilter* filter,
60 int route_id, 60 int route_id,
61 int sent_message_port_id); 61 int sent_message_port_id);
62 void DocumentDetached(SharedWorkerMessageFilter* filter, 62 void DocumentDetached(SharedWorkerMessageFilter* filter,
63 unsigned long long document_id); 63 unsigned long long document_id);
64 void CountFeature(SharedWorkerMessageFilter* filter,
65 int worker_route_id,
66 uint32_t feature);
64 void WorkerContextClosed(SharedWorkerMessageFilter* filter, 67 void WorkerContextClosed(SharedWorkerMessageFilter* filter,
65 int worker_route_id); 68 int worker_route_id);
66 void WorkerContextDestroyed(SharedWorkerMessageFilter* filter, 69 void WorkerContextDestroyed(SharedWorkerMessageFilter* filter,
67 int worker_route_id); 70 int worker_route_id);
68 void WorkerReadyForInspection(SharedWorkerMessageFilter* filter, 71 void WorkerReadyForInspection(SharedWorkerMessageFilter* filter,
69 int worker_route_id); 72 int worker_route_id);
70 void WorkerScriptLoaded(SharedWorkerMessageFilter* filter, 73 void WorkerScriptLoaded(SharedWorkerMessageFilter* filter,
71 int worker_route_id); 74 int worker_route_id);
72 void WorkerScriptLoadFailed(SharedWorkerMessageFilter* filter, 75 void WorkerScriptLoadFailed(SharedWorkerMessageFilter* filter,
73 int worker_route_id); 76 int worker_route_id);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 int next_pending_instance_id_; 176 int next_pending_instance_id_;
174 177
175 base::ObserverList<WorkerServiceObserver> observers_; 178 base::ObserverList<WorkerServiceObserver> observers_;
176 179
177 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); 180 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl);
178 }; 181 };
179 182
180 } // namespace content 183 } // namespace content
181 184
182 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 185 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698