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

Unified Diff: extensions/browser/pending_extension_info.cc

Issue 196663003: Introduce an extension parameter which is used to customize the extension. It's available for exter… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: extensions/browser/pending_extension_info.cc
diff --git a/extensions/browser/pending_extension_info.cc b/extensions/browser/pending_extension_info.cc
index 0abcdf61c85fe61c3bd6309b17fc8d1143c1cbce..d1503b9ae09f80c12660afaca12100180918ffd5 100644
--- a/extensions/browser/pending_extension_info.cc
+++ b/extensions/browser/pending_extension_info.cc
@@ -10,6 +10,7 @@ namespace extensions {
PendingExtensionInfo::PendingExtensionInfo(
const std::string& id,
+ const std::string& install_parameter,
const GURL& update_url,
const Version& version,
ShouldAllowInstallPredicate should_allow_install,
@@ -21,6 +22,7 @@ PendingExtensionInfo::PendingExtensionInfo(
: id_(id),
update_url_(update_url),
version_(version),
+ install_parameter_(install_parameter),
should_allow_install_(should_allow_install),
is_from_sync_(is_from_sync),
install_silently_(install_silently),
@@ -35,6 +37,8 @@ PendingExtensionInfo::PendingExtensionInfo()
install_silently_(false),
install_source_(Manifest::INVALID_LOCATION) {}
+PendingExtensionInfo::~PendingExtensionInfo() {}
+
bool PendingExtensionInfo::operator==(const PendingExtensionInfo& rhs) const {
return id_ == rhs.id_;
}

Powered by Google App Engine
This is Rietveld 408576698