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

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

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.h
diff --git a/chrome/browser/extensions/pending_extension_info.h b/chrome/browser/extensions/pending_extension_info.h
index fc7fd04f6e776e65bc873d3ce67c8698c524ef1a..d1d4a977a8c8f86aa708da48aaae39a39eacf712 100644
--- a/chrome/browser/extensions/pending_extension_info.h
+++ b/chrome/browser/extensions/pending_extension_info.h
@@ -21,6 +21,7 @@ class PendingExtensionInfo {
typedef bool (*ShouldAllowInstallPredicate)(const Extension&);
PendingExtensionInfo(
+ const std::string& id,
const GURL& update_url,
const Version& version,
ShouldAllowInstallPredicate should_allow_install,
@@ -31,6 +32,7 @@ class PendingExtensionInfo {
// Required for STL container membership. Should not be used directly.
PendingExtensionInfo();
+ const std::string& id() const { return id_; }
const GURL& update_url() const { return update_url_; }
const Version& version() const { return version_; }
@@ -48,6 +50,8 @@ class PendingExtensionInfo {
Extension::Location install_source() const { return install_source_; }
private:
+ const std::string& id_;
+
GURL update_url_;
Version version_;

Powered by Google App Engine
This is Rietveld 408576698