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

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

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a first test, fix a bug Created 6 years, 8 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 a3ea47b167da1395f64fd9da7fe5575814882632..11c159aafa15adcf69564394787ba7c6dcb91291 100644
--- a/chrome/browser/extensions/pending_extension_info.h
+++ b/chrome/browser/extensions/pending_extension_info.h
@@ -36,7 +36,8 @@ class PendingExtensionInfo {
bool install_silently,
Manifest::Location install_source,
int creation_flags,
- bool mark_acknowledged);
+ bool mark_acknowledged,
+ bool remote_install);
// Required for STL container membership. Should not be used directly.
PendingExtensionInfo();
@@ -65,6 +66,7 @@ class PendingExtensionInfo {
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_; }
// Returns -1, 0 or 1 if |this| has lower, equal or higher precedence than
// |other|, respectively. "Equal" precedence means that the version and the
@@ -90,6 +92,7 @@ class PendingExtensionInfo {
Manifest::Location install_source_;
int creation_flags_;
bool mark_acknowledged_;
+ bool remote_install_;
FRIEND_TEST_ALL_PREFIXES(::ExtensionServiceTest, AddPendingExtensionFromSync);
};

Powered by Google App Engine
This is Rietveld 408576698