OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" | 44 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" |
45 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" | 45 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" |
46 #include "wtf/Forward.h" | 46 #include "wtf/Forward.h" |
47 #include <memory> | 47 #include <memory> |
48 | 48 |
49 namespace blink { | 49 namespace blink { |
50 | 50 |
51 class ExecutionContext; | 51 class ExecutionContext; |
52 class WebServiceWorker; | 52 class WebServiceWorker; |
53 class WebServiceWorkerProvider; | 53 class WebServiceWorkerProvider; |
54 class WebServiceWorkerRegistration; | |
55 | 54 |
56 class MODULES_EXPORT ServiceWorkerContainer final | 55 class MODULES_EXPORT ServiceWorkerContainer final |
57 : public EventTargetWithInlineData, | 56 : public EventTargetWithInlineData, |
58 public ContextLifecycleObserver, | 57 public ContextLifecycleObserver, |
59 public WebServiceWorkerProviderClient { | 58 public WebServiceWorkerProviderClient { |
60 DEFINE_WRAPPERTYPEINFO(); | 59 DEFINE_WRAPPERTYPEINFO(); |
61 USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerContainer); | 60 USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerContainer); |
62 | 61 |
63 public: | 62 public: |
64 using RegistrationCallbacks = | 63 using RegistrationCallbacks = |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 ReadyProperty* createReadyProperty(); | 112 ReadyProperty* createReadyProperty(); |
114 | 113 |
115 WebServiceWorkerProvider* m_provider; | 114 WebServiceWorkerProvider* m_provider; |
116 Member<ServiceWorker> m_controller; | 115 Member<ServiceWorker> m_controller; |
117 Member<ReadyProperty> m_ready; | 116 Member<ReadyProperty> m_ready; |
118 }; | 117 }; |
119 | 118 |
120 } // namespace blink | 119 } // namespace blink |
121 | 120 |
122 #endif // ServiceWorkerContainer_h | 121 #endif // ServiceWorkerContainer_h |
OLD | NEW |