blob: c3c3741a3b8e11f993c0ec897de4d4a20bd21d72 [file] [log] [blame]
// 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.
namespace extensions {
class Extension;
namespace sync_helper {
// NOTE: The check in the functions here only considers the data in extension
// itself, not the environment it is in. To determine whether an extension
// should be synced, you probably want to use util::ShouldSync.
// Returns true if |extension| should be synced.
bool IsSyncable(const Extension* extension);
// Component extensions usually aren't synced, but some are so that they'll
// retain their position in the app list. Returns true for component extensions
// on that whitelist.
bool IsSyncableComponentExtension(const Extension* extension);
} // namespace sync_helper
} // namespace extensions