| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class WebServiceWorker; | 50 class WebServiceWorker; |
| 51 class WebServiceWorkerProvider; | 51 class WebServiceWorkerProvider; |
| 52 class WebServiceWorkerRegistration; | 52 class WebServiceWorkerRegistration; |
| 53 | 53 |
| 54 class MODULES_EXPORT ServiceWorkerContainer final | 54 class MODULES_EXPORT ServiceWorkerContainer final |
| 55 : public RefCountedGarbageCollectedEventTargetWithInlineData<ServiceWorkerCo
ntainer> | 55 : public RefCountedGarbageCollectedEventTargetWithInlineData<ServiceWorkerCo
ntainer> |
| 56 , public ContextLifecycleObserver | 56 , public ContextLifecycleObserver |
| 57 , public WebServiceWorkerProviderClient { | 57 , public WebServiceWorkerProviderClient { |
| 58 DEFINE_WRAPPERTYPEINFO(); | 58 DEFINE_WRAPPERTYPEINFO(); |
| 59 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ServiceWorkerContainer); | 59 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ServiceWorkerContainer); |
| 60 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerContainer); | 60 USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerContainer); |
| 61 public: | 61 public: |
| 62 static ServiceWorkerContainer* create(ExecutionContext*); | 62 static ServiceWorkerContainer* create(ExecutionContext*); |
| 63 ~ServiceWorkerContainer(); | 63 ~ServiceWorkerContainer(); |
| 64 | 64 |
| 65 void willBeDetachedFromFrame(); | 65 void willBeDetachedFromFrame(); |
| 66 | 66 |
| 67 DECLARE_VIRTUAL_TRACE(); | 67 DECLARE_VIRTUAL_TRACE(); |
| 68 | 68 |
| 69 ServiceWorker* controller() { return m_controller; } | 69 ServiceWorker* controller() { return m_controller; } |
| 70 ScriptPromise ready(ScriptState*); | 70 ScriptPromise ready(ScriptState*); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 93 ReadyProperty* createReadyProperty(); | 93 ReadyProperty* createReadyProperty(); |
| 94 | 94 |
| 95 WebServiceWorkerProvider* m_provider; | 95 WebServiceWorkerProvider* m_provider; |
| 96 Member<ServiceWorker> m_controller; | 96 Member<ServiceWorker> m_controller; |
| 97 Member<ReadyProperty> m_ready; | 97 Member<ReadyProperty> m_ready; |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace blink | 100 } // namespace blink |
| 101 | 101 |
| 102 #endif // ServiceWorkerContainer_h | 102 #endif // ServiceWorkerContainer_h |
| OLD | NEW |