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

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

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 30 matching lines...) Expand all
41 #include "components/browsing_data_ui/history_notice_utils.h" 41 #include "components/browsing_data_ui/history_notice_utils.h"
42 #include "components/favicon/core/fallback_icon_service.h" 42 #include "components/favicon/core/fallback_icon_service.h"
43 #include "components/favicon/core/fallback_url_util.h" 43 #include "components/favicon/core/fallback_url_util.h"
44 #include "components/favicon/core/large_icon_service.h" 44 #include "components/favicon/core/large_icon_service.h"
45 #include "components/history/core/browser/history_service.h" 45 #include "components/history/core/browser/history_service.h"
46 #include "components/history/core/browser/history_types.h" 46 #include "components/history/core/browser/history_types.h"
47 #include "components/history/core/browser/web_history_service.h" 47 #include "components/history/core/browser/web_history_service.h"
48 #include "components/keyed_service/core/service_access_type.h" 48 #include "components/keyed_service/core/service_access_type.h"
49 #include "components/prefs/pref_service.h" 49 #include "components/prefs/pref_service.h"
50 #include "components/query_parser/snippet.h" 50 #include "components/query_parser/snippet.h"
51 #include "components/sync/driver/device_info.h"
52 #include "components/sync/driver/device_info_tracker.h"
51 #include "components/sync/protocol/history_delete_directive_specifics.pb.h" 53 #include "components/sync/protocol/history_delete_directive_specifics.pb.h"
52 #include "components/sync/protocol/sync_enums.pb.h" 54 #include "components/sync/protocol/sync_enums.pb.h"
53 #include "components/sync_driver/device_info.h"
54 #include "components/sync_driver/device_info_tracker.h"
55 #include "components/url_formatter/url_formatter.h" 55 #include "components/url_formatter/url_formatter.h"
56 #include "content/public/browser/url_data_source.h" 56 #include "content/public/browser/url_data_source.h"
57 #include "content/public/browser/web_ui.h" 57 #include "content/public/browser/web_ui.h"
58 #include "grit/components_strings.h" 58 #include "grit/components_strings.h"
59 #include "ui/base/l10n/l10n_util.h" 59 #include "ui/base/l10n/l10n_util.h"
60 #include "ui/base/l10n/time_format.h" 60 #include "ui/base/l10n/time_format.h"
61 61
62 #if defined(ENABLE_EXTENSIONS) 62 #if defined(ENABLE_EXTENSIONS)
63 #include "chrome/browser/extensions/activity_log/activity_log.h" 63 #include "chrome/browser/extensions/activity_log/activity_log.h"
64 #endif 64 #endif
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 953
954 void BrowsingHistoryHandler::OnURLsDeleted( 954 void BrowsingHistoryHandler::OnURLsDeleted(
955 history::HistoryService* history_service, 955 history::HistoryService* history_service,
956 bool all_history, 956 bool all_history,
957 bool expired, 957 bool expired,
958 const history::URLRows& deleted_rows, 958 const history::URLRows& deleted_rows,
959 const std::set<GURL>& favicon_urls) { 959 const std::set<GURL>& favicon_urls) {
960 if (all_history || DeletionsDiffer(deleted_rows, urls_to_be_deleted_)) 960 if (all_history || DeletionsDiffer(deleted_rows, urls_to_be_deleted_))
961 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted"); 961 web_ui()->CallJavascriptFunctionUnsafe("historyDeleted");
962 } 962 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | chrome/browser/ui/webui/foreign_session_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698