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

Unified Diff: chrome/browser/search/suggestions/suggestions_ui.cc

Issue 2485633003: SuggestionsSource cleanup: Remove TaskRunnerForRequestPath implementation (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/suggestions/suggestions_ui.cc
diff --git a/chrome/browser/search/suggestions/suggestions_ui.cc b/chrome/browser/search/suggestions/suggestions_ui.cc
index 17cf2ad978df1bfd02bd8a583097318a2665cde1..85566ba895595d8e9e588ee6805fa37859f6e6cd 100644
--- a/chrome/browser/search/suggestions/suggestions_ui.cc
+++ b/chrome/browser/search/suggestions/suggestions_ui.cc
@@ -123,8 +123,6 @@ class SuggestionsSource : public content::URLDataSource {
const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
const content::URLDataSource::GotDataCallback& callback) override;
std::string GetMimeType(const std::string& path) const override;
- scoped_refptr<base::SingleThreadTaskRunner> TaskRunnerForRequestPath(
- const std::string& path) const override;
private:
~SuggestionsSource() override;
@@ -232,12 +230,6 @@ std::string SuggestionsSource::GetMimeType(const std::string& path) const {
return "text/html";
}
-scoped_refptr<base::SingleThreadTaskRunner>
-SuggestionsSource::TaskRunnerForRequestPath(const std::string& path) const {
- // This can be accessed from the IO thread.
- return content::URLDataSource::TaskRunnerForRequestPath(path);
-}
-
void SuggestionsSource::OnThumbnailsFetched(RequestContext* context) {
std::unique_ptr<RequestContext> context_deleter(context);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698