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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/html/parser/HTMLElementStack.h ('k') | Source/core/html/parser/HTMLScriptRunner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 String m_charset; 80 String m_charset;
81 Resource::Type m_resourceType; 81 Resource::Type m_resourceType;
82 bool m_isCORSEnabled; 82 bool m_isCORSEnabled;
83 StoredCredentials m_allowCredentials; 83 StoredCredentials m_allowCredentials;
84 double m_discoveryTime; 84 double m_discoveryTime;
85 FetchRequest::DeferOption m_defer; 85 FetchRequest::DeferOption m_defer;
86 }; 86 };
87 87
88 typedef Vector<OwnPtr<PreloadRequest> > PreloadRequestStream; 88 typedef Vector<OwnPtr<PreloadRequest> > PreloadRequestStream;
89 89
90 class HTMLResourcePreloader FINAL : public NoBaseWillBeGarbageCollected<HTMLReso urcePreloader> { 90 class HTMLResourcePreloader final : public NoBaseWillBeGarbageCollected<HTMLReso urcePreloader> {
91 WTF_MAKE_NONCOPYABLE(HTMLResourcePreloader); WTF_MAKE_FAST_ALLOCATED_WILL_BE _REMOVED; 91 WTF_MAKE_NONCOPYABLE(HTMLResourcePreloader); WTF_MAKE_FAST_ALLOCATED_WILL_BE _REMOVED;
92 public: 92 public:
93 static PassOwnPtrWillBeRawPtr<HTMLResourcePreloader> create(Document&); 93 static PassOwnPtrWillBeRawPtr<HTMLResourcePreloader> create(Document&);
94 void trace(Visitor*); 94 void trace(Visitor*);
95 95
96 void takeAndPreload(PreloadRequestStream&); 96 void takeAndPreload(PreloadRequestStream&);
97 void preload(PassOwnPtr<PreloadRequest>); 97 void preload(PassOwnPtr<PreloadRequest>);
98 98
99 private: 99 private:
100 explicit HTMLResourcePreloader(Document&); 100 explicit HTMLResourcePreloader(Document&);
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/HTMLElementStack.h ('k') | Source/core/html/parser/HTMLScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698