diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/netinfo/worker_navigator_network_information.h')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/netinfo/worker_navigator_network_information.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/chromium/third_party/blink/renderer/modules/netinfo/worker_navigator_network_information.h b/chromium/third_party/blink/renderer/modules/netinfo/worker_navigator_network_information.h deleted file mode 100644 index fbf0eb291b1..00000000000 --- a/chromium/third_party/blink/renderer/modules/netinfo/worker_navigator_network_information.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_NETINFO_WORKER_NAVIGATOR_NETWORK_INFORMATION_H_ -#define THIRD_PARTY_BLINK_RENDERER_MODULES_NETINFO_WORKER_NAVIGATOR_NETWORK_INFORMATION_H_ - -#include "third_party/blink/renderer/core/workers/worker_navigator.h" -#include "third_party/blink/renderer/platform/supplementable.h" - -namespace blink { - -class ExecutionContext; -class NetworkInformation; -class ScriptState; -class WorkerNavigator; - -class WorkerNavigatorNetworkInformation final - : public GarbageCollected<WorkerNavigatorNetworkInformation>, - public Supplement<WorkerNavigator> { - public: - static const char kSupplementName[]; - - static WorkerNavigatorNetworkInformation& From(WorkerNavigator&, - ExecutionContext*); - static WorkerNavigatorNetworkInformation* ToWorkerNavigatorNetworkInformation( - WorkerNavigator&, - ExecutionContext*); - - static NetworkInformation* connection(ScriptState*, WorkerNavigator&); - - WorkerNavigatorNetworkInformation(WorkerNavigator&, ExecutionContext*); - - void Trace(Visitor*) const override; - - private: - NetworkInformation* connection(ExecutionContext*); - - Member<NetworkInformation> connection_; -}; - -} // namespace blink - -#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_NETINFO_WORKER_NAVIGATOR_NETWORK_INFORMATION_H_ |