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

Unified Diff: chrome/browser/extensions/updater/extension_updater_unittest.cc

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/updater/extension_updater_unittest.cc
diff --git a/chrome/browser/extensions/updater/extension_updater_unittest.cc b/chrome/browser/extensions/updater/extension_updater_unittest.cc
index 6c3721ce1b920024fd926a0cac81550f9c2fe15d..e2412513dccb899f716f745c15f9c9efcfb592d9 100644
--- a/chrome/browser/extensions/updater/extension_updater_unittest.cc
+++ b/chrome/browser/extensions/updater/extension_updater_unittest.cc
@@ -330,6 +330,7 @@ void SetupPendingExtensionManagerForTest(
const bool kIsFromSync = true;
const bool kInstallSilently = true;
const bool kMarkAcknowledged = false;
+ const bool kRemoteInstall = false;
std::string id = id_util::GenerateId(base::StringPrintf("extension%i", i));
pending_extension_manager->AddForTesting(
@@ -342,7 +343,8 @@ void SetupPendingExtensionManagerForTest(
kInstallSilently,
Manifest::INTERNAL,
Extension::NO_FLAGS,
- kMarkAcknowledged));
+ kMarkAcknowledged,
+ kRemoteInstall));
}
}
@@ -1016,6 +1018,7 @@ class ExtensionUpdaterTest : public testing::Test {
const bool kIsFromSync = true;
const bool kInstallSilently = true;
const bool kMarkAcknowledged = false;
+ const bool kRemoteInstall = false;
PendingExtensionManager* pending_extension_manager =
service->pending_extension_manager();
pending_extension_manager->AddForTesting(
@@ -1028,7 +1031,8 @@ class ExtensionUpdaterTest : public testing::Test {
kInstallSilently,
Manifest::INTERNAL,
Extension::NO_FLAGS,
- kMarkAcknowledged));
+ kMarkAcknowledged,
+ kRemoteInstall));
}
// Call back the ExtensionUpdater with a 200 response and some test data

Powered by Google App Engine
This is Rietveld 408576698