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

Unified Diff: chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc

Issue 974713002: kiosk: Ensure launching latest version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest compile Created 5 years, 10 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/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
diff --git a/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
index fd6e7c5994b6169ed44d30f7ca31757aa4b0e208..bd9c5a3f63e083def769f55087ccba0e056f7bea 100644
--- a/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
+++ b/chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
@@ -68,12 +68,13 @@ class MockExternalPolicyProviderVisitor
MockExternalPolicyProviderVisitor();
virtual ~MockExternalPolicyProviderVisitor();
- MOCK_METHOD6(OnExternalExtensionFileFound,
+ MOCK_METHOD7(OnExternalExtensionFileFound,
bool(const std::string&,
const base::Version*,
const base::FilePath&,
extensions::Manifest::Location,
int,
+ bool,
bool));
MOCK_METHOD6(OnExternalExtensionUpdateUrlFound,
bool(const std::string&,
@@ -165,7 +166,7 @@ void DeviceLocalAccountExternalPolicyLoaderTest::TearDown() {
void DeviceLocalAccountExternalPolicyLoaderTest::
VerifyAndResetVisitorCallExpectations() {
Mock::VerifyAndClearExpectations(&visitor_);
- EXPECT_CALL(visitor_, OnExternalExtensionFileFound(_, _, _, _, _, _))
+ EXPECT_CALL(visitor_, OnExternalExtensionFileFound(_, _, _, _, _, _, _))
.Times(0);
EXPECT_CALL(visitor_, OnExternalExtensionUpdateUrlFound(_, _, _, _, _, _))
.Times(0);
@@ -290,6 +291,7 @@ TEST_F(DeviceLocalAccountExternalPolicyLoaderTest, ForceInstallListSet) {
cached_crx_path,
extensions::Manifest::EXTERNAL_POLICY,
_,
+ _,
_));
EXPECT_CALL(visitor_, OnExternalProviderReady(provider_.get()))
.Times(1)

Powered by Google App Engine
This is Rietveld 408576698