| Index: components/browsing_data/history_notice_utils.h
|
| diff --git a/components/browsing_data/history_notice_utils.h b/components/browsing_data/history_notice_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..32c2ee55f99e6da33beb4aa1963df81ebed35bb9
|
| --- /dev/null
|
| +++ b/components/browsing_data/history_notice_utils.h
|
| @@ -0,0 +1,24 @@
|
| +// 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.
|
| +
|
| +#ifndef COMPONENTS_BROWSING_DATA_HISTORY_NOTICE_UTILS_H_
|
| +#define COMPONENTS_BROWSING_DATA_HISTORY_NOTICE_UTILS_H_
|
| +
|
| +namespace history {
|
| +class WebHistoryService;
|
| +}
|
| +
|
| +class ProfileSyncService;
|
| +
|
| +namespace browsing_data {
|
| +
|
| +// Whether the Clear Browsing Data UI should show a notice about the existence
|
| +// of other forms of browsing history stored in user's account.
|
| +bool ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
|
| + const ProfileSyncService* sync_service,
|
| + const history::WebHistoryService* history_service);
|
| +
|
| +} // namespace browsing_data
|
| +
|
| +#endif // COMPONENTS_BROWSING_DATA_HISTORY_NOTICE_UTILS_H_
|
|
|