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/PassRefPtr.h" | 39 #include "platform/wtf/PassRefPtr.h" |
40 #include "wtf/RefCounted.h" | 40 #include "platform/wtf/RefCounted.h" |
41 #include "wtf/RefPtr.h" | 41 #include "platform/wtf/RefPtr.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "platform/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 | 48 class PLATFORM_EXPORT Prerender final |
49 : public GarbageCollectedFinalized<Prerender> { | 49 : public GarbageCollectedFinalized<Prerender> { |
50 WTF_MAKE_NONCOPYABLE(Prerender); | 50 WTF_MAKE_NONCOPYABLE(Prerender); |
51 | 51 |
52 public: | 52 public: |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const KURL url_; | 98 const KURL url_; |
99 const unsigned rel_types_; | 99 const unsigned rel_types_; |
100 const Referrer referrer_; | 100 const Referrer referrer_; |
101 | 101 |
102 RefPtr<ExtraData> extra_data_; | 102 RefPtr<ExtraData> extra_data_; |
103 }; | 103 }; |
104 | 104 |
105 } // namespace blink | 105 } // namespace blink |
106 | 106 |
107 #endif // Prerender_h | 107 #endif // Prerender_h |
OLD | NEW |