| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2010 Google Inc. All Rights Reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #ifndef CSSPreloadScanner_h | 27 #ifndef CSSPreloadScanner_h |
| 28 #define CSSPreloadScanner_h | 28 #define CSSPreloadScanner_h |
| 29 | 29 |
| 30 #include "core/html/parser/HTMLToken.h" | 30 #include "core/html/parser/HTMLToken.h" |
| 31 #include "core/html/parser/PreloadRequest.h" | 31 #include "core/html/parser/PreloadRequest.h" |
| 32 #include "core/loader/resource/CSSStyleSheetResource.h" | 32 #include "core/loader/resource/CSSStyleSheetResource.h" |
| 33 #include "core/loader/resource/StyleSheetResourceClient.h" | 33 #include "core/loader/resource/StyleSheetResourceClient.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "platform/loader/fetch/ResourceOwner.h" | 35 #include "platform/loader/fetch/ResourceOwner.h" |
| 36 #include "wtf/text/StringBuilder.h" | 36 #include "platform/wtf/text/StringBuilder.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class SegmentedString; | 40 class SegmentedString; |
| 41 class HTMLResourcePreloader; | 41 class HTMLResourcePreloader; |
| 42 | 42 |
| 43 class CSSPreloadScanner { | 43 class CSSPreloadScanner { |
| 44 DISALLOW_NEW(); | 44 DISALLOW_NEW(); |
| 45 WTF_MAKE_NONCOPYABLE(CSSPreloadScanner); | 45 WTF_MAKE_NONCOPYABLE(CSSPreloadScanner); |
| 46 | 46 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 const PreloadPolicy policy_; | 134 const PreloadPolicy policy_; |
| 135 WeakMember<HTMLResourcePreloader> preloader_; | 135 WeakMember<HTMLResourcePreloader> preloader_; |
| 136 WeakMember<CSSStyleSheetResource> resource_; | 136 WeakMember<CSSStyleSheetResource> resource_; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace blink | 139 } // namespace blink |
| 140 | 140 |
| 141 #endif | 141 #endif |
| OLD | NEW |