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

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: asdf 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
« no previous file with comments | « no previous file | content/browser/webui/shared_resources_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..002bbd244cb2b06c507aaaef9242b3ffb52ac784 100644
--- a/content/browser/webui/shared_resources_data_source.h
+++ b/content/browser/webui/shared_resources_data_source.h
@@ -23,7 +23,9 @@ 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;
+ base::MessageLoop* MessageLoopForRequestPath(
+ const std::string& path) const override;
std::string GetAccessControlAllowOriginForOrigin(
const std::string& origin) const override;
« no previous file with comments | « no previous file | content/browser/webui/shared_resources_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698