Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: extensions/browser/install_flag.h

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/browser/extension_util.cc ('k') | extensions/browser/state_store.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_BROWSER_INSTALL_FLAG_H_ 5 #ifndef EXTENSIONS_BROWSER_INSTALL_FLAG_H_
6 #define EXTENSIONS_BROWSER_INSTALL_FLAG_H_ 6 #define EXTENSIONS_BROWSER_INSTALL_FLAG_H_
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 // Flags used when installing an extension, through ExtensionService and 10 // Flags used when installing an extension, through ExtensionService and
11 // ExtensionPrefs and beyond. 11 // ExtensionPrefs and beyond.
12 enum InstallFlag { 12 enum InstallFlag {
13 kInstallFlagNone = 0, 13 kInstallFlagNone = 0,
14 14
15 // The requirements of the extension weren't met (for example graphics 15 // The requirements of the extension weren't met (for example graphics
16 // capabilities). 16 // capabilities).
17 kInstallFlagHasRequirementErrors = 1 << 0, 17 kInstallFlagHasRequirementErrors = 1 << 0,
18 18
19 // Extension is blacklisted for being malware. 19 // Extension is blacklisted for being malware.
20 kInstallFlagIsBlacklistedForMalware = 1 << 1, 20 kInstallFlagIsBlacklistedForMalware = 1 << 1,
21 21
22 // This is an ephemeral app. 22 // This is an ephemeral app.
23 kInstallFlagIsEphemeral = 1 << 2, 23 kInstallFlagIsEphemeral_Deprecated = 1 << 2,
24 24
25 // Install the extension immediately, don't wait until idle. 25 // Install the extension immediately, don't wait until idle.
26 kInstallFlagInstallImmediately = 1 << 3, 26 kInstallFlagInstallImmediately = 1 << 3,
27 27
28 // Do not sync the installed extension. 28 // Do not sync the installed extension.
29 kInstallFlagDoNotSync = 1 << 4, 29 kInstallFlagDoNotSync = 1 << 4,
30 }; 30 };
31 31
32 } // namespace extensions 32 } // namespace extensions
33 33
34 #endif // EXTENSIONS_BROWSER_INSTALL_FLAG_H_ 34 #endif // EXTENSIONS_BROWSER_INSTALL_FLAG_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_util.cc ('k') | extensions/browser/state_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698