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

Side by Side Diff: public/platform/WebServiceWorkerRegistrationProxy.h

Issue 478693005: Oilpan: Ship Oilpan for serviceworkers/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebServiceWorkerRegistrationProxy_h 5 #ifndef WebServiceWorkerRegistrationProxy_h
6 #define WebServiceWorkerRegistrationProxy_h 6 #define WebServiceWorkerRegistrationProxy_h
7 7
8 #if INSIDE_BLINK
9 #include "platform/heap/Handle.h"
10 #endif
8 #include "public/platform/WebCommon.h" 11 #include "public/platform/WebCommon.h"
9 12
10 namespace blink { 13 namespace blink {
11 14
12 class ServiceWorkerRegistration; 15 class ServiceWorkerRegistration;
13 class WebServiceWorker; 16 class WebServiceWorker;
14 17
15 // A proxy interface, passed via WebServiceWorkerRegistration.setProxy() from 18 // A proxy interface, passed via WebServiceWorkerRegistration.setProxy() from
16 // blink to the embedder, to talk to the ServiceWorkerRegistration object from 19 // blink to the embedder, to talk to the ServiceWorkerRegistration object from
17 // embedder. 20 // embedder.
(...skipping 10 matching lines...) Expand all
28 virtual void setInstalling(WebServiceWorker*) = 0; 31 virtual void setInstalling(WebServiceWorker*) = 0;
29 virtual void setWaiting(WebServiceWorker*) = 0; 32 virtual void setWaiting(WebServiceWorker*) = 0;
30 virtual void setActive(WebServiceWorker*) = 0; 33 virtual void setActive(WebServiceWorker*) = 0;
31 34
32 #if INSIDE_BLINK 35 #if INSIDE_BLINK
33 BLINK_PLATFORM_EXPORT WebServiceWorkerRegistrationProxy(ServiceWorkerRegistr ation*); 36 BLINK_PLATFORM_EXPORT WebServiceWorkerRegistrationProxy(ServiceWorkerRegistr ation*);
34 BLINK_PLATFORM_EXPORT operator ServiceWorkerRegistration*() const; 37 BLINK_PLATFORM_EXPORT operator ServiceWorkerRegistration*() const;
35 #endif 38 #endif
36 39
37 protected: 40 protected:
41 #if INSIDE_BLINK
42 // This is a back pointer to |this| object.
43 // The ServiceWorkerRegistration inherits from this WebServiceWorkerRegistra tionProxy.
44 GC_PLUGIN_IGNORE("crbug.com/410257")
45 #endif
38 ServiceWorkerRegistration* m_private; 46 ServiceWorkerRegistration* m_private;
39 }; 47 };
40 48
41 } // namespace blink 49 } // namespace blink
42 50
43 #endif // WebServiceWorkerRegistrationProxy_h 51 #endif // WebServiceWorkerRegistrationProxy_h
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698