Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: Source/core/html/parser/HTMLResourcePreloader.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All Rights Reserved. 2 * Copyright (C) 2013 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 double m_discoveryTime; 83 double m_discoveryTime;
84 FetchRequest::DeferOption m_defer; 84 FetchRequest::DeferOption m_defer;
85 }; 85 };
86 86
87 typedef Vector<OwnPtr<PreloadRequest>> PreloadRequestStream; 87 typedef Vector<OwnPtr<PreloadRequest>> PreloadRequestStream;
88 88
89 class HTMLResourcePreloader final : public NoBaseWillBeGarbageCollected<HTMLReso urcePreloader> { 89 class HTMLResourcePreloader final : public NoBaseWillBeGarbageCollected<HTMLReso urcePreloader> {
90 WTF_MAKE_NONCOPYABLE(HTMLResourcePreloader); WTF_MAKE_FAST_ALLOCATED_WILL_BE _REMOVED; 90 WTF_MAKE_NONCOPYABLE(HTMLResourcePreloader); WTF_MAKE_FAST_ALLOCATED_WILL_BE _REMOVED;
91 public: 91 public:
92 static PassOwnPtrWillBeRawPtr<HTMLResourcePreloader> create(Document&); 92 static PassOwnPtrWillBeRawPtr<HTMLResourcePreloader> create(Document&);
93 void trace(Visitor*); 93 DECLARE_TRACE();
94 94
95 void takeAndPreload(PreloadRequestStream&); 95 void takeAndPreload(PreloadRequestStream&);
96 96
97 private: 97 private:
98 explicit HTMLResourcePreloader(Document&); 98 explicit HTMLResourcePreloader(Document&);
99 99
100 void preload(PassOwnPtr<PreloadRequest>); 100 void preload(PassOwnPtr<PreloadRequest>);
101 101
102 RawPtrWillBeMember<Document> m_document; 102 RawPtrWillBeMember<Document> m_document;
103 }; 103 };
104 104
105 } 105 }
106 106
107 #endif 107 #endif
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLFormattingElementList.h ('k') | Source/core/html/parser/HTMLResourcePreloader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698