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

Unified Diff: chrome/browser/extensions/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: Modified test parameters 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: chrome/browser/extensions/pending_extension_info.cc
diff --git a/chrome/browser/extensions/pending_extension_info.cc b/chrome/browser/extensions/pending_extension_info.cc
index bb0d45202e5bbb2fb54d0be58a5ef922403ab8aa..0fa105baa34db081a47bd8061318f82b01a61fd5 100644
--- a/chrome/browser/extensions/pending_extension_info.cc
+++ b/chrome/browser/extensions/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_;
}
« no previous file with comments | « chrome/browser/extensions/pending_extension_info.h ('k') | chrome/browser/extensions/pending_extension_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698