Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / chrome / common / extensions / sync_helper.h
blobdb8d913f9a0fe1809011790875a172ca407a9cc6
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 // NOTE: The check in the functions here only considers the data in extension
15 // itself, not the environment it is in. To determine whether an extension
16 // should be synced, you probably want to use util::ShoudSyncExtension and
17 // util::ShouldSyncApp.
19 // Returns true if the extension should be synced.
20 bool IsSyncable(const Extension* extension);
22 // Returns true if the extension uses the sync bucket of this type.
23 bool IsSyncableExtension(const Extension* extension);
24 bool IsSyncableApp(const Extension* extension);
26 } // namespace sync_helper
27 } // namespace extensions
29 #endif // CHROME_COMMON_EXTENSIONS_SYNC_HELPER_H_