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

Unified Diff: Source/core/fetch/Resource.h

Issue 732323004: Add use counter for credentialed CORS access from null origins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tweak spelling Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/fetch/ImageResource.cpp ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index 8970621b787408aacfe49ebd9bbce29afe9a1114..afa856361f617afc0afda2f4b3fc4ff99af1d89f 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -40,6 +40,7 @@
namespace blink {
+class ExecutionContext;
struct FetchInitiatorInfo;
class CachedMetadata;
class ResourceClient;
@@ -179,8 +180,8 @@ public:
void finish();
// FIXME: Remove the stringless variant once all the callsites' error messages are updated.
- bool passesAccessControlCheck(SecurityOrigin*);
- bool passesAccessControlCheck(SecurityOrigin*, String& errorDescription);
+ bool passesAccessControlCheck(ExecutionContext*, SecurityOrigin*);
+ bool passesAccessControlCheck(ExecutionContext*, SecurityOrigin*, String& errorDescription);
void clearLoader();
« no previous file with comments | « Source/core/fetch/ImageResource.cpp ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698