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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
14 #include "base/i18n/rtl.h" 14 #include "base/i18n/rtl.h"
15 #include "base/i18n/time_formatting.h" 15 #include "base/i18n/time_formatting.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/memory/ptr_util.h"
17 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
18 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
19 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
20 #include "base/time/default_clock.h" 21 #include "base/time/default_clock.h"
21 #include "base/time/time.h" 22 #include "base/time/time.h"
22 #include "base/values.h" 23 #include "base/values.h"
23 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 24 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
24 #include "chrome/browser/favicon/fallback_icon_service_factory.h" 25 #include "chrome/browser/favicon/fallback_icon_service_factory.h"
25 #include "chrome/browser/favicon/large_icon_service_factory.h" 26 #include "chrome/browser/favicon/large_icon_service_factory.h"
26 #include "chrome/browser/profiles/profile.h" 27 #include "chrome/browser/profiles/profile.h"
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted"); 541 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted");
541 } 542 }
542 543
543 void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory( 544 void BrowsingHistoryHandler::HasOtherFormsOfBrowsingHistory(
544 bool has_other_forms, 545 bool has_other_forms,
545 bool has_synced_results) { 546 bool has_synced_results) {
546 web_ui()->CallJavascriptFunctionUnsafe( 547 web_ui()->CallJavascriptFunctionUnsafe(
547 "showNotification", base::FundamentalValue(has_synced_results), 548 "showNotification", base::FundamentalValue(has_synced_results),
548 base::FundamentalValue(has_other_forms)); 549 base::FundamentalValue(has_other_forms));
549 } 550 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698