| Index: Source/core/loader/Preconnecter.cpp
|
| diff --git a/Source/core/loader/Preconnecter.cpp b/Source/core/loader/Preconnecter.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ed29d093ab04b22a83c96a76ad955a1ba9f74699
|
| --- /dev/null
|
| +++ b/Source/core/loader/Preconnecter.cpp
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2015 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.
|
| +
|
| +#include "config.h"
|
| +#include "core/loader/Preconnecter.h"
|
| +
|
| +#include "platform/network/NetworkHints.h"
|
| +#include "wtf/PassOwnPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +PassOwnPtr<PreconnecterHost> Preconnecter::create()
|
| +{
|
| + return adoptPtr(new Preconnecter());
|
| +}
|
| +
|
| +void Preconnecter::preconnect(KURL& host, CrossOriginAttributeValue crossOrigin)
|
| +{
|
| + preconnect(host, crossOrigin);
|
| +}
|
| +
|
| +}; // namespace blink
|
|
|