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

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

Issue 2476433002: Replace URLDataSource::MessageLoopForRequestPath() with TaskRunnerForRequestPath(). (Closed)
Patch Set: rebase off local branch Created 4 years, 1 month 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 | « chrome/browser/ui/webui/theme_source.cc ('k') | 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 621c24d2882b99a89f9a02a33e5e8f9b36e61d3a..a20d384de7a3ef7e0ce8b98a778b151f5729b7f0 100644
--- a/content/browser/webui/shared_resources_data_source.h
+++ b/content/browser/webui/shared_resources_data_source.h
@@ -23,8 +23,8 @@ class SharedResourcesDataSource : public URLDataSource {
const ResourceRequestInfo::WebContentsGetter& wc_getter,
const URLDataSource::GotDataCallback& callback) override;
std::string GetMimeType(const std::string& path) const override;
- base::MessageLoop* MessageLoopForRequestPath(
- const std::string& path) const override;
+ scoped_refptr<base::SingleThreadTaskRunner> TaskRunnerForRequestPath(
+ const std::string& path) const override;
std::string GetAccessControlAllowOriginForOrigin(
const std::string& origin) const override;
« no previous file with comments | « chrome/browser/ui/webui/theme_source.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