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

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

Issue 2820933002: [subresource_filter] add //chrome level unit test harness (Closed)
Patch Set: remove dep 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
« 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 218fd723f0fbffecc0a044c87f1e4b9422288433..73649c90a5eb0030fb25cfa04a91aa07fa24d260 100644
--- a/chrome/browser/subresource_filter/chrome_subresource_filter_client.h
+++ b/chrome/browser/subresource_filter/chrome_subresource_filter_client.h
@@ -76,13 +76,17 @@ class ChromeSubresourceFilterClient
subresource_filter::VerifiedRulesetDealer::Handle* GetRulesetDealer()
override;
+ bool did_show_ui_for_navigation() const {
+ return did_show_ui_for_navigation_;
+ }
+
static void LogAction(SubresourceFilterAction action);
private:
ContentSetting GetContentSettingForUrl(const GURL& url);
std::set<std::string> whitelisted_hosts_;
content::WebContents* web_contents_;
- bool shown_for_navigation_;
+ bool did_show_ui_for_navigation_;
DISALLOW_COPY_AND_ASSIGN(ChromeSubresourceFilterClient);
};
« 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