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

Side by Side Diff: chrome/browser/ui/webui/browsing_history_handler.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 web_ui()->CallJavascriptFunctionUnsafe("deleteFailed"); 545 web_ui()->CallJavascriptFunctionUnsafe("deleteFailed");
546 } 546 }
547 547
548 void BrowsingHistoryHandler::HistoryDeleted() { 548 void BrowsingHistoryHandler::HistoryDeleted() {
549 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted"); 549 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted");
550 } 550 }
551 551
552 void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory( 552 void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory(
553 bool has_other_forms, 553 bool has_other_forms,
554 bool has_synced_results) { 554 bool has_synced_results) {
555 web_ui()->CallJavascriptFunctionUnsafe( 555 web_ui()->CallJavascriptFunctionUnsafe("showNotification",
556 "showNotification", base::FundamentalValue(has_synced_results), 556 base::Value(has_synced_results),
557 base::FundamentalValue(has_other_forms)); 557 base::Value(has_other_forms));
558 } 558 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/bidi_checker_web_ui_test.cc ('k') | chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698