OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ | |
6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ | |
7 | |
8 class PrefService; | |
9 | |
10 namespace sync_driver { | |
11 | |
12 class SyncService; | |
13 | |
14 // Returns whether sync is enabled and tab sync is configured for syncing | |
15 // without encryption. | |
16 bool IsTabSyncEnabledAndUnencrypted(SyncService* sync_service, | |
17 PrefService* pref_service); | |
18 | |
19 } // namespace sync_driver | |
20 | |
21 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_ | |
OLD | NEW |