summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/sync_service_utils.h
blob: 63ef53beba795d3ca3e0c5ea21bdfed6849de82c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2015 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_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_
#define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_

class PrefService;

namespace sync_driver {

class SyncService;

// Returns whether sync is enabled and tab sync is configured for syncing
// without encryption.
bool IsTabSyncEnabledAndUnencrypted(SyncService* sync_service,
                                    PrefService* pref_service);

}  // namespace sync_driver

#endif  // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_UTILS_H_