OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/webui/browsing_history_handler.h" | 5 #include "chrome/browser/ui/webui/browsing_history_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 } | 537 } |
538 | 538 |
539 void BrowsingHistoryHandler::HistoryDeleted() { | 539 void BrowsingHistoryHandler::HistoryDeleted() { |
540 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted"); | 540 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted"); |
541 } | 541 } |
542 | 542 |
543 void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory( | 543 void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory( |
544 bool has_other_forms, | 544 bool has_other_forms, |
545 bool has_synced_results) { | 545 bool has_synced_results) { |
546 web_ui()->CallJavascriptFunctionUnsafe( | 546 web_ui()->CallJavascriptFunctionUnsafe( |
547 "showNotification", base::FundamentalValue(has_synced_results), | 547 "showNotification", base::Value(has_synced_results), |
548 base::FundamentalValue(has_other_forms)); | 548 base::Value(has_other_forms)); |
549 } | 549 } |
OLD | NEW |