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

Unified Diff: chrome/browser/search/iframe_source.h

Issue 2856093004: Generalize content::URLDataSource so that it can be used by the network service. (Closed)
Patch Set: review comments Created 3 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: chrome/browser/search/iframe_source.h
diff --git a/chrome/browser/search/iframe_source.h b/chrome/browser/search/iframe_source.h
index 4618389dc63a7b8b7904c24c8347e92c9f86f20c..a71dabbc489503a24d6c03f6942112a633b121f6 100644
--- a/chrome/browser/search/iframe_source.h
+++ b/chrome/browser/search/iframe_source.h
@@ -20,7 +20,9 @@ class IframeSource : public content::URLDataSource {
std::string GetMimeType(const std::string& path_and_query) const override;
bool AllowCaching() const override;
bool ShouldDenyXFrameOptions() const override;
- bool ShouldServiceRequest(const net::URLRequest* request) const override;
+ bool ShouldServiceRequest(const GURL& url,
+ content::ResourceContext* resource_context,
+ int render_process_id) const override;
// Returns whether this source should serve data for a particular path.
virtual bool ServesPath(const std::string& path) const = 0;
« no previous file with comments | « no previous file | chrome/browser/search/iframe_source.cc » ('j') | content/browser/webui/url_data_manager_backend.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698