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

Side by Side Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.h

Issue 2640913002: Use TaskRunnerTimer in ResourceFetcher (Closed)
Patch Set: Null check Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp » ('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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
5 rights reserved. 5 rights reserved.
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 bool isStaticData) const; 209 bool isStaticData) const;
210 210
211 Member<FetchContext> m_context; 211 Member<FetchContext> m_context;
212 212
213 HashSet<String> m_validatedURLs; 213 HashSet<String> m_validatedURLs;
214 mutable DocumentResourceMap m_documentResources; 214 mutable DocumentResourceMap m_documentResources;
215 215
216 Member<HeapListHashSet<Member<Resource>>> m_preloads; 216 Member<HeapListHashSet<Member<Resource>>> m_preloads;
217 Member<MHTMLArchive> m_archive; 217 Member<MHTMLArchive> m_archive;
218 218
219 Timer<ResourceFetcher> m_resourceTimingReportTimer; 219 TaskRunnerTimer<ResourceFetcher> m_resourceTimingReportTimer;
220 220
221 using ResourceTimingInfoMap = 221 using ResourceTimingInfoMap =
222 HeapHashMap<Member<Resource>, std::unique_ptr<ResourceTimingInfo>>; 222 HeapHashMap<Member<Resource>, std::unique_ptr<ResourceTimingInfo>>;
223 ResourceTimingInfoMap m_resourceTimingInfoMap; 223 ResourceTimingInfoMap m_resourceTimingInfoMap;
224 224
225 std::unique_ptr<ResourceTimingInfo> m_navigationTimingInfo; 225 std::unique_ptr<ResourceTimingInfo> m_navigationTimingInfo;
226 226
227 Vector<std::unique_ptr<ResourceTimingInfo>> m_scheduledResourceTimingReports; 227 Vector<std::unique_ptr<ResourceTimingInfo>> m_scheduledResourceTimingReports;
228 228
229 HeapHashSet<Member<ResourceLoader>> m_loaders; 229 HeapHashSet<Member<ResourceLoader>> m_loaders;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } 273 }
274 274
275 private: 275 private:
276 Member<ResourceFetcher> m_loader; 276 Member<ResourceFetcher> m_loader;
277 bool m_previousState; 277 bool m_previousState;
278 }; 278 };
279 279
280 } // namespace blink 280 } // namespace blink
281 281
282 #endif // ResourceFetcher_h 282 #endif // ResourceFetcher_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698