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

Unified Diff: chrome/browser/policy/enterprise_metrics_browsertest.cc

Issue 8727037: Signed settings refactoring: Proper caching and more tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed second round of comments and fixed a mem leak in one of the new tests. Created 9 years, 1 month 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/policy/enterprise_metrics_browsertest.cc
diff --git a/chrome/browser/policy/enterprise_metrics_browsertest.cc b/chrome/browser/policy/enterprise_metrics_browsertest.cc
index 2c596f1432293d31c1802da973f7bd13dd24661f..8f35caadc54faaedde42e9c65d279c3c89234edc 100644
--- a/chrome/browser/policy/enterprise_metrics_browsertest.cc
+++ b/chrome/browser/policy/enterprise_metrics_browsertest.cc
@@ -695,9 +695,6 @@ class DevicePolicyCacheTestHelper {
install_attributes_.ExpectUsage();
EXPECT_CALL(mock_signed_settings_helper_, StartStorePolicyOp(_, _))
.WillOnce(MockSignedSettingsHelperStorePolicy(code));
- EXPECT_CALL(mock_signed_settings_helper_, CancelCallback(_))
- .Times(1)
- .RetiresOnSaturation();
EXPECT_CALL(mock_signed_settings_helper_,
StartRetrievePolicyOp(_)).Times(expected_retrieves);
}
@@ -713,7 +710,6 @@ class DevicePolicyCacheTestHelper {
install_attributes_.install_attributes(),
&mock_signed_settings_helper_));
data_store_->SetupForTesting("", "id", "user", "gaia_token", false);
- EXPECT_CALL(mock_signed_settings_helper_, CancelCallback(_)).Times(1);
}
chromeos::MockSignedSettingsHelper mock_signed_settings_helper_;

Powered by Google App Engine
This is Rietveld 408576698