OLD | NEW |
---|---|
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 WaitUntilObserver_h | 5 #ifndef WaitUntilObserver_h |
6 #define WaitUntilObserver_h | 6 #define WaitUntilObserver_h |
7 | 7 |
8 #include "core/dom/ContextLifecycleObserver.h" | 8 #include "core/dom/ContextLifecycleObserver.h" |
9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
10 #include "wtf/Forward.h" | 10 #include "wtf/Forward.h" |
(...skipping 26 matching lines...) Expand all Loading... | |
37 | 37 |
38 WaitUntilObserver(ExecutionContext*, int eventID); | 38 WaitUntilObserver(ExecutionContext*, int eventID); |
39 | 39 |
40 void reportError(const ScriptValue&); | 40 void reportError(const ScriptValue&); |
41 | 41 |
42 void incrementPendingActivity(); | 42 void incrementPendingActivity(); |
43 void decrementPendingActivity(); | 43 void decrementPendingActivity(); |
44 | 44 |
45 int m_eventID; | 45 int m_eventID; |
46 int m_pendingActivity; | 46 int m_pendingActivity; |
47 bool m_error; | |
kinuko
2014/03/25 11:26:51
m_hasError might be better? (Otherwise this var na
falken
2014/03/26 07:26:36
Done, replaced with the new enum.
| |
47 }; | 48 }; |
48 | 49 |
49 } // namespace WebCore | 50 } // namespace WebCore |
50 | 51 |
51 #endif // WaitUntilObserver_h | 52 #endif // WaitUntilObserver_h |
OLD | NEW |