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

Unified Diff: components/browsing_data_ui/history_notice_utils.h

Issue 1884553002: Add a testing switch to override the query for other forms of browsing history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed the switch. Created 4 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 | « chrome/browser/ui/webui/history_ui.cc ('k') | components/browsing_data_ui/history_notice_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data_ui/history_notice_utils.h
diff --git a/components/browsing_data_ui/history_notice_utils.h b/components/browsing_data_ui/history_notice_utils.h
index b6b68e9173df03ea23af392886eae46992fe09e9..c3ab520d5ee69269011cda7091867744b72f8f89 100644
--- a/components/browsing_data_ui/history_notice_utils.h
+++ b/components/browsing_data_ui/history_notice_utils.h
@@ -15,6 +15,16 @@ class WebHistoryService;
namespace browsing_data_ui {
+namespace testing {
+
+// TODO(crbug.com/595332): A boolean flag indicating that
+// ShouldShowNoticeAboutOtherFormsOfBrowsingHistory() should skip the query
+// for other forms of browsing history and just assume some such forms were
+// found. Used only for testing. The default is false.
+extern bool g_override_other_forms_of_browsing_history_query;
+
+}
+
// Whether the Clear Browsing Data UI should show a notice about the existence
// of other forms of browsing history stored in user's account. The response
// is returned in a |callback|.
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | components/browsing_data_ui/history_notice_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698