OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 * | 29 * |
30 */ | 30 */ |
31 | 31 |
32 #ifndef Prerender_h | 32 #ifndef Prerender_h |
33 #define Prerender_h | 33 #define Prerender_h |
34 | 34 |
35 #include "platform/PlatformExport.h" | 35 #include "platform/PlatformExport.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "platform/weborigin/KURL.h" | 37 #include "platform/weborigin/KURL.h" |
38 #include "platform/weborigin/Referrer.h" | 38 #include "platform/weborigin/Referrer.h" |
39 #include "wtf/OwnPtr.h" | |
40 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
| 40 #include "wtf/RefCounted.h" |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class PrerenderClient; | 46 class PrerenderClient; |
47 | 47 |
48 class PLATFORM_EXPORT Prerender final : public GarbageCollectedFinalized<Prerend
er> { | 48 class PLATFORM_EXPORT Prerender final : public GarbageCollectedFinalized<Prerend
er> { |
49 WTF_MAKE_NONCOPYABLE(Prerender); | 49 WTF_MAKE_NONCOPYABLE(Prerender); |
50 public: | 50 public: |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const KURL m_url; | 88 const KURL m_url; |
89 const unsigned m_relTypes; | 89 const unsigned m_relTypes; |
90 const Referrer m_referrer; | 90 const Referrer m_referrer; |
91 | 91 |
92 RefPtr<ExtraData> m_extraData; | 92 RefPtr<ExtraData> m_extraData; |
93 }; | 93 }; |
94 | 94 |
95 } // namespace blink | 95 } // namespace blink |
96 | 96 |
97 #endif // Prerender_h | 97 #endif // Prerender_h |
OLD | NEW |