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

Unified Diff: chrome/browser/extensions/webstore_install_result.h

Issue 389613006: Prevent duplicate concurrent installs of the same extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: chrome/browser/extensions/webstore_install_result.h
diff --git a/chrome/browser/extensions/webstore_install_result.h b/chrome/browser/extensions/webstore_install_result.h
index 91f91f2a63c06c90277293e2de52fef97e292710..a9602e1ab69d49ee2cdc87c148d067688cf21f46 100644
--- a/chrome/browser/extensions/webstore_install_result.h
+++ b/chrome/browser/extensions/webstore_install_result.h
@@ -20,6 +20,9 @@ enum Result {
// The operation was aborted as the requestor is no longer alive.
ABORTED,
+ // An installation of the same extension is in progress.
+ INSTALL_IN_PROGRESS,
+
// The installation is not permitted.
NOT_PERMITTED,
@@ -59,7 +62,10 @@ enum Result {
LAUNCH_FEATURE_DISABLED,
// The launch feature is not supported for the extension type.
- LAUNCH_UNSUPPORTED_EXTENSION_TYPE
+ LAUNCH_UNSUPPORTED_EXTENSION_TYPE,
+
+ // A launch of the same extension is in progress.
+ LAUNCH_IN_PROGRESS
};
} // namespace webstore_install

Powered by Google App Engine
This is Rietveld 408576698