summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/sync_helper.h
blob: 3a91bcb11da64e83b94767320bbc1b8194a422bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2013 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 CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_
#define CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_

namespace extensions {

class Extension;

namespace sync_helper {

// Returns true if the extension should be synced.
bool IsSyncable(const Extension* extension);

// Returns true if the extension uses the sync bucket of this type.
bool IsSyncableExtension(const Extension* extension);
bool IsSyncableApp(const Extension* extension);

}  // namespace sync_helper
}  // namespace extensions

#endif  // CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_