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

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

Issue 9595001: Apps on NTP should be in order of installation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unit test fixes Created 8 years, 7 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 d8746269d8e2dcd2a89ddfcaac730f3b9fc4c130..0ef28bf348b15c917740e55f600dc80df36154c4 100644
--- a/chrome/browser/extensions/pending_extension_info.cc
+++ b/chrome/browser/extensions/pending_extension_info.cc
@@ -5,13 +5,15 @@
#include "chrome/browser/extensions/pending_extension_info.h"
PendingExtensionInfo::PendingExtensionInfo(
+ const std::string& id,
const GURL& update_url,
const Version& version,
ShouldAllowInstallPredicate should_allow_install,
bool is_from_sync,
bool install_silently,
Extension::Location install_source)
- : update_url_(update_url),
+ : id_(id),
+ update_url_(update_url),
version_(version),
should_allow_install_(should_allow_install),
is_from_sync_(is_from_sync),
@@ -19,8 +21,10 @@ PendingExtensionInfo::PendingExtensionInfo(
install_source_(install_source) {}
PendingExtensionInfo::PendingExtensionInfo()
- : update_url_(),
+ : id_(""),
+ update_url_(),
should_allow_install_(NULL),
is_from_sync_(true),
install_silently_(false),
install_source_(Extension::INVALID) {}
+

Powered by Google App Engine
This is Rietveld 408576698