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

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 comments. Fixed small bugs. Rebased to ToT. Created 9 years 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
« no previous file with comments | « chrome/browser/policy/device_policy_cache_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 853fd8e91f5497830f251d1704f18b42cfca6ddd..71118eabaa8513949b1f6acd13f79d46e65cbaac 100644
--- a/chrome/browser/policy/enterprise_metrics_browsertest.cc
+++ b/chrome/browser/policy/enterprise_metrics_browsertest.cc
@@ -696,9 +696,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);
}
@@ -714,7 +711,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_;
« no previous file with comments | « chrome/browser/policy/device_policy_cache_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698