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

Side by Side Diff: chrome/browser/chromeos/arc/arc_session_manager_unittest.cc

Issue 2891223002: cros: Move wallpaper after login screen is gone (Closed)
Patch Set: fix nits Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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 <tuple> 7 #include <tuple>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 chromeos::LoginDisplay* CreateLoginDisplay( 81 chromeos::LoginDisplay* CreateLoginDisplay(
82 chromeos::LoginDisplay::Delegate* delegate) override { 82 chromeos::LoginDisplay::Delegate* delegate) override {
83 return nullptr; 83 return nullptr;
84 } 84 }
85 gfx::NativeWindow GetNativeWindow() const override { return nullptr; } 85 gfx::NativeWindow GetNativeWindow() const override { return nullptr; }
86 chromeos::OobeUI* GetOobeUI() const override { return nullptr; } 86 chromeos::OobeUI* GetOobeUI() const override { return nullptr; }
87 chromeos::WebUILoginView* GetWebUILoginView() const override { 87 chromeos::WebUILoginView* GetWebUILoginView() const override {
88 return nullptr; 88 return nullptr;
89 } 89 }
90 void BeforeSessionStart() override {} 90 void BeforeSessionStart() override {}
91 void Finalize() override {} 91 void Finalize(base::OnceClosure) override {}
92 void OpenProxySettings() override {} 92 void OpenProxySettings() override {}
93 void SetStatusAreaVisible(bool visible) override {} 93 void SetStatusAreaVisible(bool visible) override {}
94 void StartWizard(chromeos::OobeScreen first_screen) override {} 94 void StartWizard(chromeos::OobeScreen first_screen) override {}
95 chromeos::WizardController* GetWizardController() override { return nullptr; } 95 chromeos::WizardController* GetWizardController() override { return nullptr; }
96 chromeos::AppLaunchController* GetAppLaunchController() override { 96 chromeos::AppLaunchController* GetAppLaunchController() override {
97 return nullptr; 97 return nullptr;
98 } 98 }
99 void StartUserAdding(const base::Closure& completion_callback) override {} 99 void StartUserAdding(base::OnceClosure completion_callback) override {}
100 void CancelUserAdding() override {} 100 void CancelUserAdding() override {}
101 void StartSignInScreen(const chromeos::LoginScreenContext& context) override { 101 void StartSignInScreen(const chromeos::LoginScreenContext& context) override {
102 } 102 }
103 void OnPreferencesChanged() override {} 103 void OnPreferencesChanged() override {}
104 void PrewarmAuthentication() override {} 104 void PrewarmAuthentication() override {}
105 void StartAppLaunch(const std::string& app_id, 105 void StartAppLaunch(const std::string& app_id,
106 bool diagnostic_mode, 106 bool diagnostic_mode,
107 bool is_auto_launch) override {} 107 bool is_auto_launch) override {}
108 void StartDemoAppLaunch() override {} 108 void StartDemoAppLaunch() override {}
109 void StartArcKiosk(const AccountId& account_id) override {} 109 void StartArcKiosk(const AccountId& account_id) override {}
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 // For managed case we handle closing outside of 806 // For managed case we handle closing outside of
807 // ArcPlayStoreEnabledPreferenceHandler. So it session turns to STOPPED. 807 // ArcPlayStoreEnabledPreferenceHandler. So it session turns to STOPPED.
808 EXPECT_EQ(ArcSessionManager::State::STOPPED, 808 EXPECT_EQ(ArcSessionManager::State::STOPPED,
809 arc_session_manager()->state()); 809 arc_session_manager()->state());
810 // Managed user's preference should not be overwritten. 810 // Managed user's preference should not be overwritten.
811 EXPECT_TRUE(IsArcPlayStoreEnabledForProfile(profile())); 811 EXPECT_TRUE(IsArcPlayStoreEnabledForProfile(profile()));
812 } 812 }
813 } 813 }
814 814
815 } // namespace arc 815 } // namespace arc
OLDNEW
« no previous file with comments | « ash/session/session_controller_unittest.cc ('k') | chrome/browser/chromeos/login/app_launch_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698