blob: 0ce36dbfc069567e5033729fa9ede40757768a69 [file] [log] [blame]
// Copyright 2014 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_TYPE_PREFERENCE_PROVIDER_H_
#define COMPONENTS_SYNC_DRIVER_SYNC_TYPE_PREFERENCE_PROVIDER_H_
#include "components/sync/base/user_selectable_type.h"
namespace syncer {
class SyncTypePreferenceProvider {
public:
virtual UserSelectableTypeSet GetForcedTypes() const = 0;
virtual bool IsEncryptEverythingAllowed() const = 0;
protected:
virtual ~SyncTypePreferenceProvider() {}
};
} // namespace syncer
#endif // COMPONENTS_SYNC_DRIVER_SYNC_TYPE_PREFERENCE_PROVIDER_H_