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

Unified Diff: chrome/browser/chromeos/login/signed_settings_helper_unittest.cc

Issue 9961014: Add calls to store/retrieve user policy to SessionManagerClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment. Created 8 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/chromeos/login/signed_settings_helper_unittest.cc
diff --git a/chrome/browser/chromeos/login/signed_settings_helper_unittest.cc b/chrome/browser/chromeos/login/signed_settings_helper_unittest.cc
index 990382234e24fe81507a75b28064bd6fc487d15e..556611c949ed31d6c53ef553ef14aa7a5151d3c5 100644
--- a/chrome/browser/chromeos/login/signed_settings_helper_unittest.cc
+++ b/chrome/browser/chromeos/login/signed_settings_helper_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -59,9 +59,9 @@ class SignedSettingsHelperTest : public testing::Test,
mock_dbus_thread_manager_->mock_session_manager_client();
// Make sure the mocked out class calls back to notify success on store and
// retrieve ops.
- EXPECT_CALL(*client, StorePolicy(_, _))
+ EXPECT_CALL(*client, StoreDevicePolicy(_, _))
.WillRepeatedly(Store(true));
- EXPECT_CALL(*client, RetrievePolicy(_))
+ EXPECT_CALL(*client, RetrieveDevicePolicy(_))
.WillRepeatedly(Retrieve(serialized_policy_));
EXPECT_CALL(m_, StartSigningAttempt(_, A<OwnerManager::Delegate*>()))
« no previous file with comments | « chrome/browser/chromeos/login/signed_settings.cc ('k') | chrome/browser/chromeos/login/signed_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698