| Index: Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| diff --git a/Source/core/platform/network/DNS.h b/Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| similarity index 80%
|
| copy from Source/core/platform/network/DNS.h
|
| copy to Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| index 90d832e2a948ed4e0ca40ffb069787f213f333a5..8a967eff0928932ba438613c532be3ffe285bc7b 100644
|
| --- a/Source/core/platform/network/DNS.h
|
| +++ b/Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| @@ -1,6 +1,5 @@
|
| /*
|
| - * Copyright (C) 2008 Collin Jackson <collinj@webkit.org>
|
| - * Copyright (C) 2013 Google Inc. All rights reserved.
|
| + * Copyright (C) 2013 Google, Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -11,7 +10,7 @@
|
| * notice, this list of conditions and the following disclaimer in the
|
| * documentation and/or other materials provided with the distribution.
|
| *
|
| - * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
|
| + * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY
|
| * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
|
| @@ -24,14 +23,17 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef DNS_h
|
| -#define DNS_h
|
| +#ifndef CachedResourceInitiatorInfo_h
|
| +#define CachedResourceInitiatorInfo_h
|
|
|
| -#include <wtf/Forward.h>
|
| +#include "wtf/text/AtomicString.h"
|
|
|
| namespace WebCore {
|
|
|
| -void prefetchDNS(const String& hostname);
|
| +struct CachedResourceInitiatorInfo {
|
| + AtomicString name;
|
| + double startTime;
|
| +};
|
|
|
| } // namespace WebCore
|
|
|
|
|