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

Unified Diff: chrome/browser/subresource_filter/chrome_subresource_filter_client.h

Issue 2890253002: [subresource_filter] Move OnReloadRequested to the ChromeClient (Closed)
Patch Set: rebase on #473448 Created 3 years, 7 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 | chrome/browser/subresource_filter/chrome_subresource_filter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/subresource_filter/chrome_subresource_filter_client.h
diff --git a/chrome/browser/subresource_filter/chrome_subresource_filter_client.h b/chrome/browser/subresource_filter/chrome_subresource_filter_client.h
index 03de2d3ae20cfb3969ea8940e1520ae7afa56199..c859124f8f834a073783637c38fa893438a3a845 100644
--- a/chrome/browser/subresource_filter/chrome_subresource_filter_client.h
+++ b/chrome/browser/subresource_filter/chrome_subresource_filter_client.h
@@ -95,11 +95,12 @@ class ChromeSubresourceFilterClient
content::NavigationHandle* navigation_handle,
std::vector<std::unique_ptr<content::NavigationThrottle>>* throttles);
+ void OnReloadRequested();
+
// SubresourceFilterClient:
void ToggleNotificationVisibility(bool visibility) override;
bool OnPageActivationComputed(content::NavigationHandle* navigation_handle,
bool activated) override;
- void WhitelistByContentSettings(const GURL& url) override;
void WhitelistInCurrentWebContents(const GURL& url) override;
subresource_filter::VerifiedRulesetDealer::Handle* GetRulesetDealer()
override;
@@ -111,6 +112,7 @@ class ChromeSubresourceFilterClient
static void LogAction(SubresourceFilterAction action);
private:
+ void WhitelistByContentSettings(const GURL& url);
std::set<std::string> whitelisted_hosts_;
// Owned by the profile.
« no previous file with comments | « no previous file | chrome/browser/subresource_filter/chrome_subresource_filter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698