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

Unified Diff: chrome/browser/chromeos/login/login_utils_browsertest.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/login_utils_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_utils_browsertest.cc b/chrome/browser/chromeos/login/login_utils_browsertest.cc
index faa494c27410b1c322d01940793ef51d2f24d1df..e4714044e8dd033974d5907d6ad4b02bd02e92c3 100644
--- a/chrome/browser/chromeos/login/login_utils_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_utils_browsertest.cc
@@ -27,9 +27,9 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/net/gaia/gaia_auth_consumer.h"
#include "chrome/common/net/gaia/gaia_urls.h"
#include "chrome/common/pref_names.h"
-#include "chrome/common/net/gaia/gaia_auth_consumer.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_pref_service.h"
#include "content/public/browser/browser_thread.h"
@@ -131,7 +131,7 @@ class LoginUtilsTestBase : public TESTBASE,
// io_thread_state_.
MockSessionManagerClient* session_managed_client =
mock_dbus_thread_manager_.mock_session_manager_client();
- EXPECT_CALL(*session_managed_client, RetrievePolicy(_))
+ EXPECT_CALL(*session_managed_client, RetrieveDevicePolicy(_))
.WillRepeatedly(MockSessionManagerClientPolicyCallback(""));
mock_async_method_caller_ = new cryptohome::MockAsyncMethodCaller;

Powered by Google App Engine
This is Rietveld 408576698