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

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

Issue 1932753006: Figure out the MIME type of shared WebUI resources more efficiently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck Created 4 years, 8 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 53bf513bf74147c931bfdb9daf00cad662e13d3a..8e57b8b3c98bbd6cb15bc7e65ee4184d6b2d8d52 100644
--- a/content/browser/webui/shared_resources_data_source.h
+++ b/content/browser/webui/shared_resources_data_source.h
@@ -23,7 +23,7 @@ class SharedResourcesDataSource : public URLDataSource {
int render_process_id,
int render_frame_id,
const URLDataSource::GotDataCallback& callback) override;
- std::string GetMimeType(const std::string&) const override;
+ std::string GetMimeType(const std::string& path) const override;
std::string GetAccessControlAllowOriginForOrigin(
const std::string& origin) const override;

Powered by Google App Engine
This is Rietveld 408576698