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

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

Issue 2714383003: Reduce FetchContext::getCachePolicy() callers (Closed)
Patch Set: rebase Created 3 years, 9 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
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 11 matching lines...) Expand all
22 22
23 This class provides all functionality needed for loading images, style 23 This class provides all functionality needed for loading images, style
24 sheets and html pages from the web. It has a memory cache for these objects. 24 sheets and html pages from the web. It has a memory cache for these objects.
25 */ 25 */
26 26
27 #ifndef ResourceFetcher_h 27 #ifndef ResourceFetcher_h
28 #define ResourceFetcher_h 28 #define ResourceFetcher_h
29 29
30 #include "platform/PlatformExport.h" 30 #include "platform/PlatformExport.h"
31 #include "platform/Timer.h" 31 #include "platform/Timer.h"
32 #include "platform/loader/fetch/CachePolicy.h"
33 #include "platform/loader/fetch/FetchContext.h" 32 #include "platform/loader/fetch/FetchContext.h"
34 #include "platform/loader/fetch/FetchInitiatorInfo.h" 33 #include "platform/loader/fetch/FetchInitiatorInfo.h"
35 #include "platform/loader/fetch/FetchRequest.h" 34 #include "platform/loader/fetch/FetchRequest.h"
36 #include "platform/loader/fetch/Resource.h" 35 #include "platform/loader/fetch/Resource.h"
37 #include "platform/loader/fetch/ResourceLoaderOptions.h" 36 #include "platform/loader/fetch/ResourceLoaderOptions.h"
38 #include "platform/loader/fetch/SubstituteData.h" 37 #include "platform/loader/fetch/SubstituteData.h"
39 #include "platform/network/ResourceError.h" 38 #include "platform/network/ResourceError.h"
40 #include "platform/network/ResourceLoadPriority.h" 39 #include "platform/network/ResourceLoadPriority.h"
41 #include "wtf/HashMap.h" 40 #include "wtf/HashMap.h"
42 #include "wtf/HashSet.h" 41 #include "wtf/HashSet.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 } 283 }
285 284
286 private: 285 private:
287 Member<ResourceFetcher> m_loader; 286 Member<ResourceFetcher> m_loader;
288 bool m_previousState; 287 bool m_previousState;
289 }; 288 };
290 289
291 } // namespace blink 290 } // namespace blink
292 291
293 #endif // ResourceFetcher_h 292 #endif // ResourceFetcher_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698