OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef NavigatorConnect_h | |
6 #define NavigatorConnect_h | |
7 | |
8 #include "bindings/core/v8/ScriptPromise.h" | |
9 #include "wtf/text/WTFString.h" | |
10 | |
11 namespace blink { | |
12 | |
13 class Navigator; | |
14 class ScriptState; | |
15 | |
16 class NavigatorConnect { | |
17 public: | |
18 static ScriptPromise connect(ScriptState* scriptState, Navigator&, const Str
ing& url) | |
19 { | |
20 return connect(scriptState, url); | |
21 } | |
22 | |
23 static ScriptPromise connect(ScriptState*, const String& url); | |
24 }; | |
25 | |
26 } // namespace blink | |
27 | |
28 #endif // NavigatorConnect_h | |
OLD | NEW |