[Extensions OOPI] Convert extension functions to use RenderFrameHosts
[chromium-blink-merge.git] / extensions / browser / install_flag.h
blobf157a6e356573d6726114b65081f5f456224e249
1 // Copyright 2014 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 EXTENSIONS_BROWSER_INSTALL_FLAG_H_
6 #define EXTENSIONS_BROWSER_INSTALL_FLAG_H_
8 namespace extensions {
10 // Flags used when installing an extension, through ExtensionService and
11 // ExtensionPrefs and beyond.
12 enum InstallFlag {
13 kInstallFlagNone = 0,
15 // The requirements of the extension weren't met (for example graphics
16 // capabilities).
17 kInstallFlagHasRequirementErrors = 1 << 0,
19 // Extension is blacklisted for being malware.
20 kInstallFlagIsBlacklistedForMalware = 1 << 1,
22 // This is an ephemeral app.
23 kInstallFlagIsEphemeral = 1 << 2,
25 // Install the extension immediately, don't wait until idle.
26 kInstallFlagInstallImmediately = 1 << 3,
28 // Do not sync the installed extension.
29 kInstallFlagDoNotSync = 1 << 4,
32 } // namespace extensions
34 #endif // EXTENSIONS_BROWSER_INSTALL_FLAG_H_