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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 1867493003: remove FetchContext::getCachePolicy() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review #51 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.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) 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 CHECK(context.isLiveContext()); 67 CHECK(context.isLiveContext());
68 static_cast<FrameFetchContext&>(context).m_document = document; 68 static_cast<FrameFetchContext&>(context).m_document = document;
69 } 69 }
70 70
71 ~FrameFetchContext(); 71 ~FrameFetchContext();
72 72
73 bool isLiveContext() { return true; } 73 bool isLiveContext() { return true; }
74 74
75 void addAdditionalRequestHeaders(ResourceRequest&, 75 void addAdditionalRequestHeaders(ResourceRequest&,
76 FetchResourceType) override; 76 FetchResourceType) override;
77 CachePolicy getCachePolicy() const override;
78 WebCachePolicy resourceRequestCachePolicy( 77 WebCachePolicy resourceRequestCachePolicy(
79 ResourceRequest&, 78 ResourceRequest&,
80 Resource::Type, 79 Resource::Type,
81 FetchRequest::DeferOption) const override; 80 FetchRequest::DeferOption) const override;
82 void dispatchDidChangeResourcePriority(unsigned long identifier, 81 void dispatchDidChangeResourcePriority(unsigned long identifier,
83 ResourceLoadPriority, 82 ResourceLoadPriority,
84 int intraPriorityValue) override; 83 int intraPriorityValue) override;
85 void dispatchWillSendRequest( 84 void dispatchWillSendRequest(
86 unsigned long identifier, 85 unsigned long identifier,
87 ResourceRequest&, 86 ResourceRequest&,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 208 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
210 // currently leak because ComputedStyle and its data are not on the heap. 209 // currently leak because ComputedStyle and its data are not on the heap.
211 // See crbug.com/383860 for details. 210 // See crbug.com/383860 for details.
212 WeakMember<Document> m_document; 211 WeakMember<Document> m_document;
213 Member<DocumentLoader> m_documentLoader; 212 Member<DocumentLoader> m_documentLoader;
214 }; 213 };
215 214
216 } // namespace blink 215 } // namespace blink
217 216
218 #endif 217 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698