1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h"
10 UserSessionManagerTestApi::UserSessionManagerTestApi(
11 UserSessionManager
* session_manager
)
12 : session_manager_(session_manager
) {
15 void UserSessionManagerTestApi::InjectStubUserContext(
16 const UserContext
& user_context
) {
17 session_manager_
->InjectStubUserContext(user_context
);
20 void UserSessionManagerTestApi::SetShouldLaunchBrowserInTests(
21 bool should_launch_browser
) {
22 session_manager_
->set_should_launch_browser_in_tests(should_launch_browser
);
25 void UserSessionManagerTestApi::SetShouldObtainTokenHandleInTests(
26 bool should_obtain_handle
) {
27 session_manager_
->SetShouldObtainHandleInTests(should_obtain_handle
);
31 } // namespace chromeos