| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 : public RefCountedWillBeGarbageCollectedFinalized<ServiceWorkerContainer> | 58 : public RefCountedWillBeGarbageCollectedFinalized<ServiceWorkerContainer> |
| 59 , public ScriptWrappable | 59 , public ScriptWrappable |
| 60 , public ContextLifecycleObserver | 60 , public ContextLifecycleObserver |
| 61 , public blink::WebServiceWorkerProviderClient { | 61 , public blink::WebServiceWorkerProviderClient { |
| 62 public: | 62 public: |
| 63 static PassRefPtrWillBeRawPtr<ServiceWorkerContainer> create(ExecutionContex
t*); | 63 static PassRefPtrWillBeRawPtr<ServiceWorkerContainer> create(ExecutionContex
t*); |
| 64 ~ServiceWorkerContainer(); | 64 ~ServiceWorkerContainer(); |
| 65 | 65 |
| 66 void willBeDetachedFromFrame(); | 66 void willBeDetachedFromFrame(); |
| 67 | 67 |
| 68 void trace(Visitor*); | 68 virtual void trace(Visitor*); |
| 69 | 69 |
| 70 PassRefPtrWillBeRawPtr<ServiceWorker> active() { return m_active.get(); } | 70 PassRefPtrWillBeRawPtr<ServiceWorker> active() { return m_active.get(); } |
| 71 PassRefPtrWillBeRawPtr<ServiceWorker> controller() { return m_controller.get
(); } | 71 PassRefPtrWillBeRawPtr<ServiceWorker> controller() { return m_controller.get
(); } |
| 72 PassRefPtrWillBeRawPtr<ServiceWorker> installing() { return m_installing.get
(); } | 72 PassRefPtrWillBeRawPtr<ServiceWorker> installing() { return m_installing.get
(); } |
| 73 PassRefPtrWillBeRawPtr<ServiceWorker> waiting() { return m_waiting.get(); } | 73 PassRefPtrWillBeRawPtr<ServiceWorker> waiting() { return m_waiting.get(); } |
| 74 ScriptPromise ready(ScriptState*); | 74 ScriptPromise ready(ScriptState*); |
| 75 blink::WebServiceWorkerProvider* provider() { return m_provider; } | 75 blink::WebServiceWorkerProvider* provider() { return m_provider; } |
| 76 | 76 |
| 77 ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, con
st Dictionary&); | 77 ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, con
st Dictionary&); |
| 78 ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope); | 78 ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 95 RefPtrWillBeMember<ServiceWorker> m_active; | 95 RefPtrWillBeMember<ServiceWorker> m_active; |
| 96 RefPtrWillBeMember<ServiceWorker> m_controller; | 96 RefPtrWillBeMember<ServiceWorker> m_controller; |
| 97 RefPtrWillBeMember<ServiceWorker> m_installing; | 97 RefPtrWillBeMember<ServiceWorker> m_installing; |
| 98 RefPtrWillBeMember<ServiceWorker> m_waiting; | 98 RefPtrWillBeMember<ServiceWorker> m_waiting; |
| 99 PersistentWillBeMember<ReadyProperty> m_ready; | 99 PersistentWillBeMember<ReadyProperty> m_ready; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace blink | 102 } // namespace blink |
| 103 | 103 |
| 104 #endif // ServiceWorkerContainer_h | 104 #endif // ServiceWorkerContainer_h |
| OLD | NEW |