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

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

Issue 2146963004: Adding the creation flags back to pending extension info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a test to update extension with flag before installtion Created 4 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/pending_extension_info.h
diff --git a/chrome/browser/extensions/pending_extension_info.h b/chrome/browser/extensions/pending_extension_info.h
index 8bfcdaa9707698d7b30e67678164f2d15fc475d0..9d4e939180e34a55fbb5592cef1260f760f6fd68 100644
--- a/chrome/browser/extensions/pending_extension_info.h
+++ b/chrome/browser/extensions/pending_extension_info.h
@@ -34,6 +34,7 @@ class PendingExtensionInfo {
ShouldAllowInstallPredicate should_allow_install,
bool is_from_sync,
Manifest::Location install_source,
+ int creation_flags,
bool mark_acknowledged,
bool remote_install);
@@ -63,6 +64,7 @@ class PendingExtensionInfo {
}
bool is_from_sync() const { return is_from_sync_; }
Manifest::Location install_source() const { return install_source_; }
+ int creation_flags() const { return creation_flags_; }
bool mark_acknowledged() const { return mark_acknowledged_; }
bool remote_install() const { return remote_install_; }
@@ -87,6 +89,7 @@ class PendingExtensionInfo {
bool is_from_sync_; // This update check was initiated from sync.
Manifest::Location install_source_;
+ int creation_flags_;
bool mark_acknowledged_;
bool remote_install_;

Powered by Google App Engine
This is Rietveld 408576698