Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "components/browsing_data/history_notice_utils.h" | |
| 6 | |
| 7 #include "components/browser_sync/browser/profile_sync_service.h" | |
| 8 #include "components/history/core/browser/web_history_service.h" | |
| 9 | |
| 10 namespace browsing_data { | |
| 11 | |
| 12 bool ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( | |
| 13 const ProfileSyncService* sync_service, | |
| 14 const history::WebHistoryService* history_service) { | |
| 15 return (sync_service && | |
|
sdefresne
2016/03/17 09:49:39
nit: return is not a function, so you can remove t
msramek
2016/03/17 13:04:34
Done.
| |
| 16 sync_service->IsUsingSecondaryPassphrase() && | |
| 17 history_service && | |
| 18 history_service->HasOtherFormsOfBrowsingHistory()); | |
| 19 } | |
| 20 | |
| 21 } // namespace browsing_data | |
| OLD | NEW |