Chromium Code Reviews| Index: components/history_notice_utils/history_notice_utils.h |
| diff --git a/components/history_notice_utils/history_notice_utils.h b/components/history_notice_utils/history_notice_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..30e9966522cc79d74b2efaa437f9204c1e345b5f |
| --- /dev/null |
| +++ b/components/history_notice_utils/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_HISTORY_NOTICE_UTILS_HISTORY_NOTICE_UTILS_H_ |
| +#define COMPONENTS_HISTORY_NOTICE_UTILS_HISTORY_NOTICE_UTILS_H_ |
| + |
|
sdefresne
2016/03/17 13:11:20
nit: the order in other files seems to be forward-
msramek
2016/03/17 13:58:20
Done.
|
| +namespace history { |
| +class WebHistoryService; |
| +} |
| + |
| +class ProfileSyncService; |
| + |
| +namespace history_notice_utils { |
| + |
| +// 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 history_notice_utils |
| + |
| +#endif // COMPONENTS_HISTORY_NOTICE_UTILS_HISTORY_NOTICE_UTILS_H_ |