Enable Enterprise enrollment on desktop builds.
[chromium-blink-merge.git] / chrome / common / extensions / sync_helper.h
blob3a91bcb11da64e83b94767320bbc1b8194a422bc
1 // Copyright 2013 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 CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_
6 #define CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_
8 namespace extensions {
10 class Extension;
12 namespace sync_helper {
14 // Returns true if the extension should be synced.
15 bool IsSyncable(const Extension* extension);
17 // Returns true if the extension uses the sync bucket of this type.
18 bool IsSyncableExtension(const Extension* extension);
19 bool IsSyncableApp(const Extension* extension);
21 } // namespace sync_helper
22 } // namespace extensions
24 #endif // CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_