Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.h

Issue 2693823003: Remove dependency from NetworkStateNotifier to ExecutionContext (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 WorkerNavigatorNetworkInformation_h 5 #ifndef WorkerNavigatorNetworkInformation_h
6 #define WorkerNavigatorNetworkInformation_h 6 #define WorkerNavigatorNetworkInformation_h
7 7
8 #include "core/workers/WorkerNavigator.h" 8 #include "core/workers/WorkerNavigator.h"
9 #include "platform/Supplementable.h" 9 #include "platform/Supplementable.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class ExecutionContext;
13 class NetworkInformation; 14 class NetworkInformation;
14 class ScriptState; 15 class ScriptState;
15 class WorkerNavigator; 16 class WorkerNavigator;
16 17
17 class WorkerNavigatorNetworkInformation final 18 class WorkerNavigatorNetworkInformation final
18 : public GarbageCollected<WorkerNavigatorNetworkInformation>, 19 : public GarbageCollected<WorkerNavigatorNetworkInformation>,
19 public Supplement<WorkerNavigator> { 20 public Supplement<WorkerNavigator> {
20 USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigatorNetworkInformation); 21 USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigatorNetworkInformation);
21 22
22 public: 23 public:
(...skipping 11 matching lines...) Expand all
34 private: 35 private:
35 WorkerNavigatorNetworkInformation(WorkerNavigator&, ExecutionContext*); 36 WorkerNavigatorNetworkInformation(WorkerNavigator&, ExecutionContext*);
36 NetworkInformation* connection(ExecutionContext*); 37 NetworkInformation* connection(ExecutionContext*);
37 38
38 Member<NetworkInformation> m_connection; 39 Member<NetworkInformation> m_connection;
39 }; 40 };
40 41
41 } // namespace blink 42 } // namespace blink
42 43
43 #endif // WorkerNavigatorNetworkInformation_h 44 #endif // WorkerNavigatorNetworkInformation_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698