Commit c153a251 authored by msramek's avatar msramek Committed by Commit bot

Merge //components/browsing_data_ui into //components/browsing_data/core

The component browsing_data_ui contains code used by the Clear Browsing
Data dialog on all platforms. It was created because there was no other
component fitting that purpose.

However, the browsing_data component has been recently made into a layered
component (https://codereview.chromium.org/2127403002), providing various
browsing data related functionality for all platforms.

Since the two components have basically the same purpose and confusingly
similar names, we merge them into one.

TBR=dbeam@chromium.org
BUG=635873

Review-Url: https://codereview.chromium.org/2238453002
Cr-Commit-Position: refs/heads/master@{#419450}
parent 1ce4ff3d
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
#include "chrome/grit/locale_settings.h" #include "chrome/grit/locale_settings.h"
#include "components/browser_sync/profile_sync_service.h" #include "components/browser_sync/profile_sync_service.h"
#include "components/browsing_data/core/browsing_data_utils.h" #include "components/browsing_data/core/browsing_data_utils.h"
#include "components/browsing_data/core/history_notice_utils.h"
#include "components/browsing_data/core/pref_names.h" #include "components/browsing_data/core/pref_names.h"
#include "components/browsing_data_ui/history_notice_utils.h"
#include "components/content_settings/core/browser/host_content_settings_map.h" #include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h" #include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_pattern.h" #include "components/content_settings/core/common/content_settings_pattern.h"
...@@ -771,14 +771,14 @@ static void RequestInfoAboutOtherFormsOfBrowsingHistory( ...@@ -771,14 +771,14 @@ static void RequestInfoAboutOtherFormsOfBrowsingHistory(
const JavaParamRef<jobject>& obj, const JavaParamRef<jobject>& obj,
const JavaParamRef<jobject>& listener) { const JavaParamRef<jobject>& listener) {
// The permanent notice in the footer. // The permanent notice in the footer.
browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
ProfileSyncServiceFactory::GetForProfile(GetOriginalProfile()), ProfileSyncServiceFactory::GetForProfile(GetOriginalProfile()),
WebHistoryServiceFactory::GetForProfile(GetOriginalProfile()), WebHistoryServiceFactory::GetForProfile(GetOriginalProfile()),
base::Bind(&ShowNoticeAboutOtherFormsOfBrowsingHistory, base::Bind(&ShowNoticeAboutOtherFormsOfBrowsingHistory,
base::Owned(new ScopedJavaGlobalRef<jobject>(env, listener)))); base::Owned(new ScopedJavaGlobalRef<jobject>(env, listener))));
// The one-time notice in the dialog. // The one-time notice in the dialog.
browsing_data_ui::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
ProfileSyncServiceFactory::GetForProfile(GetOriginalProfile()), ProfileSyncServiceFactory::GetForProfile(GetOriginalProfile()),
WebHistoryServiceFactory::GetForProfile(GetOriginalProfile()), WebHistoryServiceFactory::GetForProfile(GetOriginalProfile()),
chrome::GetChannel(), chrome::GetChannel(),
......
...@@ -469,7 +469,6 @@ split_static_library("ui") { ...@@ -469,7 +469,6 @@ split_static_library("ui") {
"//components/bookmarks/managed", "//components/bookmarks/managed",
"//components/browser_sync", "//components/browser_sync",
"//components/browsing_data/core", "//components/browsing_data/core",
"//components/browsing_data_ui",
"//components/bubble:bubble", "//components/bubble:bubble",
"//components/certificate_reporting:cert_logger_proto", "//components/certificate_reporting:cert_logger_proto",
"//components/certificate_reporting:encrypted_cert_logger_proto", "//components/certificate_reporting:encrypted_cert_logger_proto",
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include "components/bookmarks/browser/bookmark_model.h" #include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_utils.h" #include "components/bookmarks/browser/bookmark_utils.h"
#include "components/browser_sync/profile_sync_service.h" #include "components/browser_sync/profile_sync_service.h"
#include "components/browsing_data_ui/history_notice_utils.h" #include "components/browsing_data/core/history_notice_utils.h"
#include "components/favicon/core/fallback_icon_service.h" #include "components/favicon/core/fallback_icon_service.h"
#include "components/favicon/core/fallback_url_util.h" #include "components/favicon/core/fallback_url_util.h"
#include "components/favicon/core/large_icon_service.h" #include "components/favicon/core/large_icon_service.h"
...@@ -472,7 +472,7 @@ void BrowsingHistoryHandler::QueryHistory( ...@@ -472,7 +472,7 @@ void BrowsingHistoryHandler::QueryHistory(
this, &BrowsingHistoryHandler::WebHistoryTimeout); this, &BrowsingHistoryHandler::WebHistoryTimeout);
// Test the existence of other forms of browsing history. // Test the existence of other forms of browsing history.
browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile), ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile),
web_history, web_history,
base::Bind( base::Bind(
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
#include "chrome/grit/browser_resources.h" #include "chrome/grit/browser_resources.h"
#include "chrome/grit/generated_resources.h" #include "chrome/grit/generated_resources.h"
#include "chrome/grit/theme_resources.h" #include "chrome/grit/theme_resources.h"
#include "components/browsing_data/core/history_notice_utils.h"
#include "components/browsing_data/core/pref_names.h" #include "components/browsing_data/core/pref_names.h"
#include "components/browsing_data_ui/history_notice_utils.h"
#include "components/grit/components_scaled_resources.h" #include "components/grit/components_scaled_resources.h"
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
#include "components/search/search.h" #include "components/search/search.h"
...@@ -194,7 +194,7 @@ HistoryUI::HistoryUI(content::WebUI* web_ui) : WebUIController(web_ui) { ...@@ -194,7 +194,7 @@ HistoryUI::HistoryUI(content::WebUI* web_ui) : WebUIController(web_ui) {
if (url.has_query() && url.query() == "reset_ofbh") { if (url.has_query() && url.query() == "reset_ofbh") {
Profile::FromWebUI(web_ui)->GetPrefs()->SetInteger( Profile::FromWebUI(web_ui)->GetPrefs()->SetInteger(
browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes, 0); browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes, 0);
browsing_data_ui::testing:: browsing_data::testing::
g_override_other_forms_of_browsing_history_query = true; g_override_other_forms_of_browsing_history_query = true;
} }
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
#include "chrome/grit/generated_resources.h" #include "chrome/grit/generated_resources.h"
#include "chrome/grit/locale_settings.h" #include "chrome/grit/locale_settings.h"
#include "components/browsing_data/core/counters/browsing_data_counter.h" #include "components/browsing_data/core/counters/browsing_data_counter.h"
#include "components/browsing_data/core/history_notice_utils.h"
#include "components/browsing_data/core/pref_names.h" #include "components/browsing_data/core/pref_names.h"
#include "components/browsing_data_ui/history_notice_utils.h"
#include "components/google/core/browser/google_util.h" #include "components/google/core/browser/google_util.h"
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
#include "content/public/browser/notification_details.h" #include "content/public/browser/notification_details.h"
...@@ -396,7 +396,7 @@ void ClearBrowserDataHandler::OnStateChanged() { ...@@ -396,7 +396,7 @@ void ClearBrowserDataHandler::OnStateChanged() {
} }
void ClearBrowserDataHandler::RefreshHistoryNotice() { void ClearBrowserDataHandler::RefreshHistoryNotice() {
browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
sync_service_, sync_service_,
WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())), WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())),
base::Bind(&ClearBrowserDataHandler::UpdateHistoryNotice, base::Bind(&ClearBrowserDataHandler::UpdateHistoryNotice,
...@@ -409,7 +409,7 @@ void ClearBrowserDataHandler::RefreshHistoryNotice() { ...@@ -409,7 +409,7 @@ void ClearBrowserDataHandler::RefreshHistoryNotice() {
browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes); browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes);
if (notice_shown_times < kMaxTimesHistoryNoticeShown) { if (notice_shown_times < kMaxTimesHistoryNoticeShown) {
browsing_data_ui::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
sync_service_, sync_service_,
WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())), WebHistoryServiceFactory::GetForProfile(Profile::FromWebUI(web_ui())),
chrome::GetChannel(), chrome::GetChannel(),
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
#include "chrome/browser/sync/profile_sync_service_factory.h" #include "chrome/browser/sync/profile_sync_service_factory.h"
#include "chrome/common/channel_info.h" #include "chrome/common/channel_info.h"
#include "chrome/common/pref_names.h" #include "chrome/common/pref_names.h"
#include "components/browsing_data/core/history_notice_utils.h"
#include "components/browsing_data/core/pref_names.h" #include "components/browsing_data/core/pref_names.h"
#include "components/browsing_data_ui/history_notice_utils.h"
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
#include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui.h"
...@@ -284,7 +284,7 @@ void ClearBrowsingDataHandler::OnStateChanged() { ...@@ -284,7 +284,7 @@ void ClearBrowsingDataHandler::OnStateChanged() {
} }
void ClearBrowsingDataHandler::RefreshHistoryNotice() { void ClearBrowsingDataHandler::RefreshHistoryNotice() {
browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
sync_service_, sync_service_,
WebHistoryServiceFactory::GetForProfile(profile_), WebHistoryServiceFactory::GetForProfile(profile_),
base::Bind(&ClearBrowsingDataHandler::UpdateHistoryNotice, base::Bind(&ClearBrowsingDataHandler::UpdateHistoryNotice,
...@@ -297,7 +297,7 @@ void ClearBrowsingDataHandler::RefreshHistoryNotice() { ...@@ -297,7 +297,7 @@ void ClearBrowsingDataHandler::RefreshHistoryNotice() {
browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes); browsing_data::prefs::kClearBrowsingDataHistoryNoticeShownTimes);
if (notice_shown_times < kMaxTimesHistoryNoticeShown) { if (notice_shown_times < kMaxTimesHistoryNoticeShown) {
browsing_data_ui::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
sync_service_, sync_service_,
WebHistoryServiceFactory::GetForProfile(profile_), WebHistoryServiceFactory::GetForProfile(profile_),
chrome::GetChannel(), chrome::GetChannel(),
......
...@@ -65,7 +65,6 @@ test("components_unittests") { ...@@ -65,7 +65,6 @@ test("components_unittests") {
"//components/bookmarks/managed:unit_tests", "//components/bookmarks/managed:unit_tests",
"//components/browser_sync:unit_tests", "//components/browser_sync:unit_tests",
"//components/browsing_data/core:unit_tests", "//components/browsing_data/core:unit_tests",
"//components/browsing_data_ui:unit_tests",
"//components/bubble:unit_tests", "//components/bubble:unit_tests",
"//components/captive_portal:unit_tests", "//components/captive_portal:unit_tests",
"//components/client_update_protocol:unit_tests", "//components/client_update_protocol:unit_tests",
......
...@@ -18,6 +18,8 @@ static_library("core") { ...@@ -18,6 +18,8 @@ static_library("core") {
"counters/history_counter.h", "counters/history_counter.h",
"counters/passwords_counter.cc", "counters/passwords_counter.cc",
"counters/passwords_counter.h", "counters/passwords_counter.h",
"history_notice_utils.cc",
"history_notice_utils.h",
"pref_names.cc", "pref_names.cc",
"pref_names.h", "pref_names.h",
] ]
...@@ -31,6 +33,7 @@ static_library("core") { ...@@ -31,6 +33,7 @@ static_library("core") {
"//components/prefs:prefs", "//components/prefs:prefs",
"//components/strings", "//components/strings",
"//components/sync", "//components/sync",
"//components/version_info",
"//components/webdata/common", "//components/webdata/common",
"//ui/base", "//ui/base",
] ]
...@@ -49,12 +52,19 @@ source_set("unit_tests") { ...@@ -49,12 +52,19 @@ source_set("unit_tests") {
testonly = true testonly = true
sources = [ sources = [
"browsing_data_utils_unittest.cc", "browsing_data_utils_unittest.cc",
"history_notice_utils_unittest.cc",
] ]
deps = [ deps = [
":core", ":core",
"//base", "//base",
"//components/autofill/core/browser:browser", "//components/autofill/core/browser:browser",
"//components/history/core/test:test",
"//components/signin/core/browser:test_support",
"//components/sync:test_support_sync_driver",
"//components/sync/protocol:protocol",
"//components/version_info:version_info",
"//net",
"//testing/gtest", "//testing/gtest",
] ]
} }
include_rules = [ include_rules = [
"+components/autofill/core/browser", "+components/autofill/core/browser",
"+components/browser_sync",
"+components/history/core/browser", "+components/history/core/browser",
"+components/history/core/test",
"+components/password_manager/core/browser", "+components/password_manager/core/browser",
"+components/pref_registry", "+components/pref_registry",
"+components/prefs", "+components/prefs",
"+components/signin",
"+components/sync/base",
"+components/sync/core",
"+components/sync/driver", "+components/sync/driver",
"+components/version_info",
"+components/webdata/common", "+components/webdata/common",
"+grit", "+grit",
"+net",
"+ui/base", "+ui/base",
] ]
per-file history_notice_utils*=msarda@chromium.org
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "components/browsing_data_ui/history_notice_utils.h" #include "components/browsing_data/core/history_notice_utils.h"
#include "base/bind.h" #include "base/bind.h"
#include "base/callback.h" #include "base/callback.h"
...@@ -51,7 +51,7 @@ class MergeBooleanCallbacks { ...@@ -51,7 +51,7 @@ class MergeBooleanCallbacks {
} // namespace } // namespace
namespace browsing_data_ui { namespace browsing_data {
namespace testing { namespace testing {
...@@ -112,4 +112,4 @@ void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory( ...@@ -112,4 +112,4 @@ void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
&MergeBooleanCallbacks::RunCallback, base::Unretained(merger))); &MergeBooleanCallbacks::RunCallback, base::Unretained(merger)));
} }
} // namespace browsing_data_ui } // namespace browsing_data
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef COMPONENTS_BROWSING_DATA_UI_HISTORY_NOTICE_UTILS_H_ #ifndef COMPONENTS_BROWSING_DATA_CORE_HISTORY_NOTICE_UTILS_H_
#define COMPONENTS_BROWSING_DATA_UI_HISTORY_NOTICE_UTILS_H_ #define COMPONENTS_BROWSING_DATA_CORE_HISTORY_NOTICE_UTILS_H_
#include <string> #include <string>
...@@ -21,7 +21,7 @@ namespace version_info { ...@@ -21,7 +21,7 @@ namespace version_info {
enum class Channel; enum class Channel;
} }
namespace browsing_data_ui { namespace browsing_data {
namespace testing { namespace testing {
...@@ -53,6 +53,6 @@ void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory( ...@@ -53,6 +53,6 @@ void ShouldPopupDialogAboutOtherFormsOfBrowsingHistory(
version_info::Channel channel, version_info::Channel channel,
base::Callback<void(bool)> callback); base::Callback<void(bool)> callback);
} // namespace browsing_data_ui } // namespace browsing_data
#endif // COMPONENTS_BROWSING_DATA_UI_HISTORY_NOTICE_UTILS_H_ #endif // COMPONENTS_BROWSING_DATA_CORE_HISTORY_NOTICE_UTILS_H_
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "components/browsing_data_ui/history_notice_utils.h" #include "components/browsing_data/core/history_notice_utils.h"
#include <memory> #include <memory>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "net/url_request/url_request_test_util.h" #include "net/url_request/url_request_test_util.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
namespace browsing_data_ui { namespace browsing_data {
namespace { namespace {
...@@ -184,4 +184,4 @@ TEST_F(HistoryNoticeUtilsTest, WebHistoryStates) { ...@@ -184,4 +184,4 @@ TEST_F(HistoryNoticeUtilsTest, WebHistoryStates) {
ExpectShouldPopupDialogAboutOtherFormsOfBrowsingHistoryWithResult(false); ExpectShouldPopupDialogAboutOtherFormsOfBrowsingHistoryWithResult(false);
} }
} // namespace browsing_data_ui } // namespace browsing_data
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("browsing_data_ui") {
sources = [
"history_notice_utils.cc",
"history_notice_utils.h",
]
deps = [
"//base",
"//components/history/core/browser",
"//components/sync",
"//components/version_info",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"history_notice_utils_unittest.cc",
]
deps = [
":browsing_data_ui",
"//base",
"//components/history/core/test:test",
"//components/signin/core/browser:test_support",
"//components/sync:test_support_sync_driver",
"//components/sync/protocol:protocol",
"//components/version_info:version_info",
"//net",
"//testing/gtest",
]
}
msarda@chromium.org
msramek@chromium.org
...@@ -617,7 +617,6 @@ source_set("browser") { ...@@ -617,7 +617,6 @@ source_set("browser") {
"//components/bookmarks/browser", "//components/bookmarks/browser",
"//components/browser_sync", "//components/browser_sync",
"//components/browsing_data/core", "//components/browsing_data/core",
"//components/browsing_data_ui",
"//components/component_updater", "//components/component_updater",
"//components/content_settings/core/browser", "//components/content_settings/core/browser",
"//components/content_settings/core/common", "//components/content_settings/core/common",
......
...@@ -8,7 +8,6 @@ include_rules = [ ...@@ -8,7 +8,6 @@ include_rules = [
"+components/bookmarks", "+components/bookmarks",
"+components/browser_sync", "+components/browser_sync",
"+components/browsing_data/core", "+components/browsing_data/core",
"+components/browsing_data_ui",
"+components/component_updater", "+components/component_updater",
"+components/content_settings/core", "+components/content_settings/core",
"+components/cookie_config", "+components/cookie_config",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "components/bookmarks/browser/bookmark_model.h" #include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_utils.h" #include "components/bookmarks/browser/bookmark_utils.h"
#include "components/browser_sync/profile_sync_service.h" #include "components/browser_sync/profile_sync_service.h"
#include "components/browsing_data_ui/history_notice_utils.h" #include "components/browsing_data/core/history_notice_utils.h"
#include "components/history/core/browser/history_service.h" #include "components/history/core/browser/history_service.h"
#include "components/history/core/browser/history_types.h" #include "components/history/core/browser/history_types.h"
#include "components/history/core/browser/top_sites.h" #include "components/history/core/browser/top_sites.h"
...@@ -374,7 +374,7 @@ void BrowsingHistoryHandler::QueryHistory( ...@@ -374,7 +374,7 @@ void BrowsingHistoryHandler::QueryHistory(
IOSChromeProfileSyncServiceFactory::GetInstance()->GetForBrowserState( IOSChromeProfileSyncServiceFactory::GetInstance()->GetForBrowserState(
browser_state); browser_state);
// Test the existence of other forms of browsing history. // Test the existence of other forms of browsing history.
browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( browsing_data::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
sync_service, web_history, sync_service, web_history,
base::Bind( base::Bind(
&BrowsingHistoryHandler::OtherFormsOfBrowsingHistoryQueryComplete, &BrowsingHistoryHandler::OtherFormsOfBrowsingHistoryQueryComplete,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "base/memory/ref_counted_memory.h" #include "base/memory/ref_counted_memory.h"
#include "base/strings/string16.h" #include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
#include "components/browsing_data_ui/history_notice_utils.h" #include "components/browsing_data/core/history_notice_utils.h"
#include "components/grit/components_scaled_resources.h" #include "components/grit/components_scaled_resources.h"
#include "components/keyed_service/core/service_access_type.h" #include "components/keyed_service/core/service_access_type.h"
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
...@@ -146,8 +146,8 @@ HistoryUI::HistoryUI(web::WebUIIOS* web_ui) : web::WebUIIOSController(web_ui) { ...@@ -146,8 +146,8 @@ HistoryUI::HistoryUI(web::WebUIIOS* web_ui) : web::WebUIIOSController(web_ui) {
if (url.has_query() && url.query() == "reset_ofbh") { if (url.has_query() && url.query() == "reset_ofbh") {
ios::ChromeBrowserState::FromWebUIIOS(web_ui)->GetPrefs()->SetInteger( ios::ChromeBrowserState::FromWebUIIOS(web_ui)->GetPrefs()->SetInteger(
prefs::kClearBrowsingDataHistoryNoticeShownTimes, 0); prefs::kClearBrowsingDataHistoryNoticeShownTimes, 0);
browsing_data_ui::testing:: browsing_data::testing::g_override_other_forms_of_browsing_history_query =
g_override_other_forms_of_browsing_history_query = true; true;
} }
// Set up the chrome://history-frame/ source. // Set up the chrome://history-frame/ source.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment