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

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: Addressed comments. 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
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..ea2f8af84ba87e0dabb0aa29536b5b51d06bff34 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 kOverrideOtherFormsOfBrowsingHistoryQuery;
+
+}
+
// 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|.

Powered by Google App Engine
This is Rietveld 408576698