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

Unified Diff: content/browser/webui/shared_resources_data_source.h

Issue 613733002: Enabled CORS for chrome://resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflict resolved (OVERRIDE->override). Created 6 years, 2 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: content/browser/webui/shared_resources_data_source.h
diff --git a/content/browser/webui/shared_resources_data_source.h b/content/browser/webui/shared_resources_data_source.h
index d16293eecbf74110deac57fa49452d016e3c73e4..045dd836ce3b98a1055994b48775b6bfb0b02792 100644
--- a/content/browser/webui/shared_resources_data_source.h
+++ b/content/browser/webui/shared_resources_data_source.h
@@ -22,6 +22,8 @@ class SharedResourcesDataSource : public content::URLDataSource {
int render_frame_id,
const content::URLDataSource::GotDataCallback& callback) override;
virtual std::string GetMimeType(const std::string&) const override;
+ virtual std::string GetAccessControlAllowOriginForOrigin(
+ const std::string& origin) const override;
private:
virtual ~SharedResourcesDataSource();
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/webui/shared_resources_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698