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

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

Issue 2616323002: CrossOriginAccessControl: separate access checks and error message generation (Closed)
Patch Set: sync expectation 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/fetch/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index afa7d880e4dfa45fef40abb042186cdb89fafd18..b5fdd2fe7ef675de4902afd7c39f60d2bb61513e 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -214,11 +214,7 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void finish(double finishTime);
void finish() { finish(0.0); }
- // FIXME: Remove the stringless variant once all the callsites' error messages
- // are updated.
bool passesAccessControlCheck(SecurityOrigin*) const;
- bool passesAccessControlCheck(SecurityOrigin*,
- String& errorDescription) const;
virtual PassRefPtr<const SharedBuffer> resourceBuffer() const {
return m_data;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698