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 NetworkInformation_h | 5 #ifndef NetworkInformation_h |
6 #define NetworkInformation_h | 6 #define NetworkInformation_h |
7 | 7 |
8 #include "bindings/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/dom/ActiveDOMObject.h" | 9 #include "core/dom/ActiveDOMObject.h" |
10 #include "core/events/EventTarget.h" | 10 #include "core/events/EventTarget.h" |
11 #include "core/page/NetworkStateNotifier.h" | 11 #include "core/page/NetworkStateNotifier.h" |
12 #include "public/platform/WebConnectionType.h" | 12 #include "public/platform/WebConnectionType.h" |
13 | 13 |
14 namespace WebCore { | 14 namespace WebCore { |
15 | 15 |
16 class ExecutionContext; | 16 class ExecutionContext; |
17 | 17 |
18 class NetworkInformation FINAL | 18 class NetworkInformation FINAL |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Whether this object is listening for events from NetworkStateNotifier. | 56 // Whether this object is listening for events from NetworkStateNotifier. |
57 bool m_observing; | 57 bool m_observing; |
58 | 58 |
59 // Whether ActiveDOMObject::stop has been called. | 59 // Whether ActiveDOMObject::stop has been called. |
60 bool m_contextStopped; | 60 bool m_contextStopped; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace WebCore | 63 } // namespace WebCore |
64 | 64 |
65 #endif // NetworkInformation_h | 65 #endif // NetworkInformation_h |
OLD | NEW |