OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ |
6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ |
7 | 7 |
8 class PrefService; | 8 class PrefService; |
9 | 9 |
10 namespace sync_driver { | 10 namespace sync_driver { |
11 | 11 |
12 class SyncService; | 12 class SyncService; |
13 | 13 |
14 // Returns whether sync is enabled and tab sync is configured for syncing | 14 // Returns whether sync is enabled and tab sync is configured for syncing |
15 // without encryption. | 15 // without encryption. |
16 bool IsTabSyncEnabledAndUnencrypted(SyncService* sync_service, | 16 bool IsTabSyncEnabledAndUnencrypted(SyncService* sync_service, |
17 PrefService* pref_service); | 17 PrefService* pref_service); |
18 | 18 |
19 } // namespace sync_driver | 19 } // namespace sync_driver |
20 | 20 |
21 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ | 21 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ |
OLD | NEW |