| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <memory> | 5 #include <memory> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 void StartUserAdding(const base::Closure& completion_callback) override {} | 97 void StartUserAdding(const base::Closure& completion_callback) override {} |
| 98 void CancelUserAdding() override {} | 98 void CancelUserAdding() override {} |
| 99 void StartSignInScreen(const chromeos::LoginScreenContext& context) override { | 99 void StartSignInScreen(const chromeos::LoginScreenContext& context) override { |
| 100 } | 100 } |
| 101 void OnPreferencesChanged() override {} | 101 void OnPreferencesChanged() override {} |
| 102 void PrewarmAuthentication() override {} | 102 void PrewarmAuthentication() override {} |
| 103 void StartAppLaunch(const std::string& app_id, | 103 void StartAppLaunch(const std::string& app_id, |
| 104 bool diagnostic_mode, | 104 bool diagnostic_mode, |
| 105 bool is_auto_launch) override {} | 105 bool is_auto_launch) override {} |
| 106 void StartDemoAppLaunch() override {} | 106 void StartDemoAppLaunch() override {} |
| 107 void StartArcKiosk(const AccountId& account_id) override {} |
| 107 | 108 |
| 108 private: | 109 private: |
| 109 DISALLOW_COPY_AND_ASSIGN(FakeLoginDisplayHost); | 110 DISALLOW_COPY_AND_ASSIGN(FakeLoginDisplayHost); |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 } // namespace | 113 } // namespace |
| 113 | 114 |
| 114 // Bool parameter is used to implement ArcSessionOobeOptInTest tests for | 115 // Bool parameter is used to implement ArcSessionOobeOptInTest tests for |
| 115 // managed/unmanaged users. To prevent ambiguous testing::Test inheritance | 116 // managed/unmanaged users. To prevent ambiguous testing::Test inheritance |
| 116 // implement derivation here, in base class. | 117 // implement derivation here, in base class. |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 MaybeWaitForDataRemoved(); | 774 MaybeWaitForDataRemoved(); |
| 774 EXPECT_EQ(ArcSessionManager::State::SHOWING_TERMS_OF_SERVICE, | 775 EXPECT_EQ(ArcSessionManager::State::SHOWING_TERMS_OF_SERVICE, |
| 775 arc_session_manager()->state()); | 776 arc_session_manager()->state()); |
| 776 CloseLoginDisplayHost(); | 777 CloseLoginDisplayHost(); |
| 777 ReportActorDestroyed(); | 778 ReportActorDestroyed(); |
| 778 EXPECT_EQ(ArcSessionManager::State::STOPPED, arc_session_manager()->state()); | 779 EXPECT_EQ(ArcSessionManager::State::STOPPED, arc_session_manager()->state()); |
| 779 EXPECT_FALSE(!IsManagedUser() && arc_session_manager()->IsArcEnabled()); | 780 EXPECT_FALSE(!IsManagedUser() && arc_session_manager()->IsArcEnabled()); |
| 780 } | 781 } |
| 781 | 782 |
| 782 } // namespace arc | 783 } // namespace arc |
| OLD | NEW |