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

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

Issue 1254023006: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
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_CONTEXT_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/id_map.h" 12 #include "base/id_map.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "content/child/webmessageportchannel_impl.h" 17 #include "content/child/webmessageportchannel_impl.h"
18 #include "content/common/service_worker/service_worker_types.h" 18 #include "content/common/service_worker/service_worker_types.h"
19 #include "content/public/common/service_worker_event_status.mojom.h" 19 #include "content/public/common/service_worker_event_status.mojom.h"
20 #include "ipc/ipc_listener.h" 20 #include "ipc/ipc_listener.h"
21 #include "mojo/application/public/interfaces/service_provider.mojom.h" 21 #include "mojo/application/public/interfaces/service_provider.mojom.h"
22 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" 22 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h"
23 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" 23 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
24 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" 24 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerError.h"
25 #include "third_party/WebKit/public/web/WebServiceWorkerContextClient.h" 25 #include "third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerCo ntextClient.h"
26 26
27 namespace base { 27 namespace base {
28 class SingleThreadTaskRunner; 28 class SingleThreadTaskRunner;
29 class TaskRunner; 29 class TaskRunner;
30 } 30 }
31 31
32 namespace blink { 32 namespace blink {
33 struct WebCircularGeofencingRegion; 33 struct WebCircularGeofencingRegion;
34 struct WebCrossOriginServiceWorkerClient; 34 struct WebCrossOriginServiceWorkerClient;
35 class WebDataSource; 35 class WebDataSource;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Initialized on the worker thread in workerContextStarted and 229 // Initialized on the worker thread in workerContextStarted and
230 // destructed on the worker thread in willDestroyWorkerContext. 230 // destructed on the worker thread in willDestroyWorkerContext.
231 scoped_ptr<WorkerContextData> context_; 231 scoped_ptr<WorkerContextData> context_;
232 232
233 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 233 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
234 }; 234 };
235 235
236 } // namespace content 236 } // namespace content
237 237
238 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 238 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698