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

Side by Side Diff: chrome/browser/ui/webui/options/clear_browser_data_handler.cc

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn Created 4 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/options/clear_browser_data_handler.h" 5 #include "chrome/browser/ui/webui/options/clear_browser_data_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 17 matching lines...) Expand all
28 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" 28 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
29 #include "chrome/browser/history/web_history_service_factory.h" 29 #include "chrome/browser/history/web_history_service_factory.h"
30 #include "chrome/browser/prefs/incognito_mode_prefs.h" 30 #include "chrome/browser/prefs/incognito_mode_prefs.h"
31 #include "chrome/browser/profiles/profile.h" 31 #include "chrome/browser/profiles/profile.h"
32 #include "chrome/browser/sync/profile_sync_service_factory.h" 32 #include "chrome/browser/sync/profile_sync_service_factory.h"
33 #include "chrome/browser/ui/accelerator_utils.h" 33 #include "chrome/browser/ui/accelerator_utils.h"
34 #include "chrome/common/channel_info.h" 34 #include "chrome/common/channel_info.h"
35 #include "chrome/common/pref_names.h" 35 #include "chrome/common/pref_names.h"
36 #include "chrome/grit/generated_resources.h" 36 #include "chrome/grit/generated_resources.h"
37 #include "chrome/grit/locale_settings.h" 37 #include "chrome/grit/locale_settings.h"
38 #include "components/browsing_data/counters/browsing_data_counter.h" 38 #include "components/browsing_data/core/counters/browsing_data_counter.h"
39 #include "components/browsing_data/pref_names.h" 39 #include "components/browsing_data/core/pref_names.h"
40 #include "components/browsing_data_ui/history_notice_utils.h" 40 #include "components/browsing_data_ui/history_notice_utils.h"
41 #include "components/google/core/browser/google_util.h" 41 #include "components/google/core/browser/google_util.h"
42 #include "components/prefs/pref_service.h" 42 #include "components/prefs/pref_service.h"
43 #include "content/public/browser/notification_details.h" 43 #include "content/public/browser/notification_details.h"
44 #include "content/public/browser/web_ui.h" 44 #include "content/public/browser/web_ui.h"
45 #include "ui/base/accelerators/accelerator.h" 45 #include "ui/base/accelerators/accelerator.h"
46 #include "ui/base/l10n/l10n_util.h" 46 #include "ui/base/l10n/l10n_util.h"
47 #include "ui/events/keycodes/keyboard_codes.h" 47 #include "ui/events/keycodes/keyboard_codes.h"
48 48
49 namespace { 49 namespace {
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 "History.ClearBrowsingData.HistoryNoticeShownInFooterWhenUpdated", 423 "History.ClearBrowsingData.HistoryNoticeShownInFooterWhenUpdated",
424 should_show_history_notice_); 424 should_show_history_notice_);
425 } 425 }
426 426
427 void ClearBrowserDataHandler::UpdateHistoryDeletionDialog(bool show) { 427 void ClearBrowserDataHandler::UpdateHistoryDeletionDialog(bool show) {
428 // This is used by OnBrowsingDataRemoverDone (when the deletion finishes). 428 // This is used by OnBrowsingDataRemoverDone (when the deletion finishes).
429 should_show_history_deletion_dialog_ = show; 429 should_show_history_deletion_dialog_ = show;
430 } 430 }
431 431
432 } // namespace options 432 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698