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.
5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_
10 namespace sync_driver
{
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
);
19 } // namespace sync_driver
21 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_