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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

Issue 2387983002: Worker: Reflow comments in worker components (Closed)
Patch Set: manually tweak Created 4 years, 2 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 namespace blink { 46 namespace blink {
47 47
48 struct WebCrossOriginServiceWorkerClient; 48 struct WebCrossOriginServiceWorkerClient;
49 struct WebServiceWorkerClientQueryOptions; 49 struct WebServiceWorkerClientQueryOptions;
50 class ExecutionContext; 50 class ExecutionContext;
51 class WebServiceWorkerCacheStorage; 51 class WebServiceWorkerCacheStorage;
52 class WebServiceWorkerResponse; 52 class WebServiceWorkerResponse;
53 class WebURL; 53 class WebURL;
54 class WorkerClients; 54 class WorkerClients;
55 55
56 // See WebServiceWorkerContextClient for documentation for the methods in this c lass. 56 // See WebServiceWorkerContextClient for documentation for the methods in this
57 // class.
57 class MODULES_EXPORT ServiceWorkerGlobalScopeClient 58 class MODULES_EXPORT ServiceWorkerGlobalScopeClient
58 : public Supplement<WorkerClients> { 59 : public Supplement<WorkerClients> {
59 WTF_MAKE_NONCOPYABLE(ServiceWorkerGlobalScopeClient); 60 WTF_MAKE_NONCOPYABLE(ServiceWorkerGlobalScopeClient);
60 DISALLOW_NEW(); 61 DISALLOW_NEW();
61 62
62 public: 63 public:
63 virtual ~ServiceWorkerGlobalScopeClient() {} 64 virtual ~ServiceWorkerGlobalScopeClient() {}
64 65
65 // Called from ServiceWorkerClients. 66 // Called from ServiceWorkerClients.
66 virtual void getClient(const WebString&, 67 virtual void getClient(const WebString&,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ServiceWorkerGlobalScopeClient() {} 131 ServiceWorkerGlobalScopeClient() {}
131 }; 132 };
132 133
133 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker( 134 MODULES_EXPORT void provideServiceWorkerGlobalScopeClientToWorker(
134 WorkerClients*, 135 WorkerClients*,
135 ServiceWorkerGlobalScopeClient*); 136 ServiceWorkerGlobalScopeClient*);
136 137
137 } // namespace blink 138 } // namespace blink
138 139
139 #endif // ServiceWorkerGlobalScopeClient_h 140 #endif // ServiceWorkerGlobalScopeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698