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

Side by Side Diff: content/renderer/service_worker/service_worker_script_context.h

Issue 893783002: Revert of Gather the ServiceWorker client information in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rfh_getvisibilitystate
Patch Set: Created 5 years, 10 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_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 22 matching lines...) Expand all
33 namespace IPC { 33 namespace IPC {
34 class Message; 34 class Message;
35 } 35 }
36 36
37 namespace content { 37 namespace content {
38 38
39 class EmbeddedWorkerContextClient; 39 class EmbeddedWorkerContextClient;
40 class WebServiceWorkerRegistrationImpl; 40 class WebServiceWorkerRegistrationImpl;
41 struct NavigatorConnectClient; 41 struct NavigatorConnectClient;
42 struct PlatformNotificationData; 42 struct PlatformNotificationData;
43 struct ServiceWorkerClientInfo;
44 43
45 // TODO(kinuko): This should implement WebServiceWorkerContextClient 44 // TODO(kinuko): This should implement WebServiceWorkerContextClient
46 // rather than having EmbeddedWorkerContextClient implement it. 45 // rather than having EmbeddedWorkerContextClient implement it.
47 // See the header comment in embedded_worker_context_client.h for the 46 // See the header comment in embedded_worker_context_client.h for the
48 // potential EW/SW layering concerns. 47 // potential EW/SW layering concerns.
49 class ServiceWorkerScriptContext { 48 class ServiceWorkerScriptContext {
50 public: 49 public:
51 ServiceWorkerScriptContext( 50 ServiceWorkerScriptContext(
52 EmbeddedWorkerContextClient* embedded_context, 51 EmbeddedWorkerContextClient* embedded_context,
53 blink::WebServiceWorkerContextProxy* proxy); 52 blink::WebServiceWorkerContextProxy* proxy);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 std::map<int, base::TimeTicks> install_start_timings_; 159 std::map<int, base::TimeTicks> install_start_timings_;
161 std::map<int, base::TimeTicks> notification_click_start_timings_; 160 std::map<int, base::TimeTicks> notification_click_start_timings_;
162 std::map<int, base::TimeTicks> push_start_timings_; 161 std::map<int, base::TimeTicks> push_start_timings_;
163 162
164 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext); 163 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext);
165 }; 164 };
166 165
167 } // namespace content 166 } // namespace content
168 167
169 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ 168 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/service_worker/service_worker_script_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698