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

Unified Diff: extensions/browser/install_flag.h

Issue 322893002: Cleanup: Make ExtensionService::OnExtensionInstalled take a bitmask instead of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more win compile fixes Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/install_flag.h
diff --git a/extensions/browser/install_flag.h b/extensions/browser/install_flag.h
new file mode 100644
index 0000000000000000000000000000000000000000..b8eac9906988b6dca599fce1526d3b0844327532
--- /dev/null
+++ b/extensions/browser/install_flag.h
@@ -0,0 +1,31 @@
+// Copyright 2014 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_BROWSER_EXTENSIONS_INSTALL_FLAG_H_
+#define CHROME_BROWSER_EXTENSIONS_INSTALL_FLAG_H_
+
+namespace extensions {
+
+// Flags used when installing an extension, through ExtensionService and
+// ExtensionPrefs and beyond.
+enum InstallFlag {
+ kInstallFlagNone = 0,
+
+ // The requirements of the extension weren't met (for example graphics
+ // capabilities).
+ kInstallFlagHasRequirementErrors = 1 << 0,
+
+ // Extension is blacklisted for being malware.
+ kInstallFlagIsBlacklistedForMalware = 1 << 1,
+
+ // This is an ephemeral app.
+ kInstallFlagIsEphemeral = 1 << 2,
+
+ // Install the extension immediately, don't wait until idle.
+ kInstallFlagInstallImmediately = 1 << 3,
+};
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_INSTALL_FLAG_H_
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698