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

Unified Diff: chrome/browser/ui/webui/browsing_history_handler.h

Issue 1838333004: Add a notice about other forms of browsing history to the History WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop-ui-after-rebase
Patch Set: Rebase. 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/resources/md_history/history.js ('k') | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/browsing_history_handler.h
diff --git a/chrome/browser/ui/webui/browsing_history_handler.h b/chrome/browser/ui/webui/browsing_history_handler.h
index f94ef2fa129bb6676e5f6cec4d699f7991922723..0146c4adb34749ffc62aea2ae6d65ff2d2a7360d 100644
--- a/chrome/browser/ui/webui/browsing_history_handler.h
+++ b/chrome/browser/ui/webui/browsing_history_handler.h
@@ -162,6 +162,11 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
history::WebHistoryService::Request* request,
const base::DictionaryValue* results_value);
+ // Callback telling us whether other forms of browsing history were found
+ // on the history server.
+ void OtherFormsOfBrowsingHistoryQueryComplete(
+ bool found_other_forms_of_browsing_history);
+
// Callback from the history system when visits were deleted.
void RemoveComplete();
@@ -218,6 +223,12 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
ScopedObserver<history::HistoryService, history::HistoryServiceObserver>
history_service_observer_;
+ // Whether the last call to Web History returned synced results.
+ bool has_synced_results_;
+
+ // Whether there are other forms of browsing history on the history server.
+ bool has_other_forms_of_browsing_history_;
+
base::WeakPtrFactory<BrowsingHistoryHandler> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler);
« no previous file with comments | « chrome/browser/resources/md_history/history.js ('k') | chrome/browser/ui/webui/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698