- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / sync_helper.h
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.
4
5 #ifndef CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_
6 #define CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_
7
8 namespace extensions {
9
10 class Extension;
11
12 namespace sync_helper {
13
14 // Returns true if the extension should be synced.
15 bool IsSyncable(const Extension* extension);
16
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);
20
21 }  // namespace sync_helper
22 }  // namespace extensions
23
24 #endif  // CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_