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

Unified Diff: chrome/browser/chromeos/cros/cros_mock.cc

Issue 8573025: chromeos: Move EnableScreenLock to PowerManagerClient from PowerLibrary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mock_power_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/cros_mock.cc
diff --git a/chrome/browser/chromeos/cros/cros_mock.cc b/chrome/browser/chromeos/cros/cros_mock.cc
index d468ff7985dcf38251e4f4af684ab3b2e001a2a3..36e310eab0728156ac02eacc0d3f9c9c196ac9c7 100644
--- a/chrome/browser/chromeos/cros/cros_mock.cc
+++ b/chrome/browser/chromeos/cros/cros_mock.cc
@@ -230,10 +230,6 @@ void CrosMock::SetPowerLibraryStatusAreaExpectations() {
}
void CrosMock::SetPowerLibraryExpectations() {
- // EnableScreenLock is currently bounded with a prefs value and thus is
- // always called when loading
- EXPECT_CALL(*mock_power_library_, EnableScreenLock(_))
- .Times(AnyNumber());
}
void CrosMock::TearDownMocks() {
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mock_power_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698