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

Side by Side Diff: third_party/WebKit/Source/core/fetch/FetchContext.cpp

Issue 2147473002: Set 'ResourceRequest::requestorOrigin' in Blink for more request types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen Created 4 years, 5 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) 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 29 matching lines...) Expand all
40 } 40 }
41 41
42 void FetchContext::dispatchDidChangeResourcePriority(unsigned long, ResourceLoad Priority, int) 42 void FetchContext::dispatchDidChangeResourcePriority(unsigned long, ResourceLoad Priority, int)
43 { 43 {
44 } 44 }
45 45
46 void FetchContext::addAdditionalRequestHeaders(ResourceRequest&, FetchResourceTy pe) 46 void FetchContext::addAdditionalRequestHeaders(ResourceRequest&, FetchResourceTy pe)
47 { 47 {
48 } 48 }
49 49
50 void FetchContext::setFirstPartyForCookies(ResourceRequest&)
51 {
52 }
53
54 CachePolicy FetchContext::getCachePolicy() const 50 CachePolicy FetchContext::getCachePolicy() const
55 { 51 {
56 return CachePolicyVerify; 52 return CachePolicyVerify;
57 } 53 }
58 54
59 WebCachePolicy FetchContext::resourceRequestCachePolicy(const ResourceRequest&, Resource::Type, FetchRequest::DeferOption defer) const 55 WebCachePolicy FetchContext::resourceRequestCachePolicy(const ResourceRequest&, Resource::Type, FetchRequest::DeferOption defer) const
60 { 56 {
61 return WebCachePolicy::UseProtocolCachePolicy; 57 return WebCachePolicy::UseProtocolCachePolicy;
62 } 58 }
63 59
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 110 }
115 111
116 void FetchContext::addClientHintsIfNecessary(FetchRequest&) 112 void FetchContext::addClientHintsIfNecessary(FetchRequest&)
117 { 113 {
118 } 114 }
119 115
120 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) 116 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&)
121 { 117 {
122 } 118 }
123 119
120 void FetchContext::populateRequestData(ResourceRequest&)
121 {
122 }
123
124 } // namespace blink 124 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FetchContext.h ('k') | third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698