| Index: Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| diff --git a/Source/core/loader/cache/CachedResourceRequestInitiators.cpp b/Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| similarity index 77%
|
| copy from Source/core/loader/cache/CachedResourceRequestInitiators.cpp
|
| copy to Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| index 1faa8f8cf95cff27a4af803ac583ce30dc93c35c..cbca2e7b21ac7a3f2faf50aa855266625fd18ff7 100644
|
| --- a/Source/core/loader/cache/CachedResourceRequestInitiators.cpp
|
| +++ b/Source/core/loader/cache/CachedResourceInitiatorInfo.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2012 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
|
| @@ -23,16 +23,24 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "config.h"
|
| -#include "core/loader/cache/CachedResourceRequestInitiators.h"
|
| +#ifndef CachedResourceInitiatorInfo_h
|
| +#define CachedResourceInitiatorInfo_h
|
| +
|
| +#include "wtf/text/AtomicString.h"
|
|
|
| namespace WebCore {
|
|
|
| -CachedResourceRequestInitiators::CachedResourceRequestInitiators()
|
| - : css("css", AtomicString::ConstructFromLiteral)
|
| - , icon("icon", AtomicString::ConstructFromLiteral)
|
| - , xmlhttprequest("xmlhttprequest", AtomicString::ConstructFromLiteral)
|
| -{
|
| -}
|
| +struct CachedResourceInitiatorInfo {
|
| + CachedResourceInitiatorInfo()
|
| + : name()
|
| + , startTime(0.0)
|
| + {
|
| + }
|
| +
|
| + AtomicString name;
|
| + double startTime;
|
| +};
|
|
|
| } // namespace WebCore
|
| +
|
| +#endif
|
|
|