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

Side by Side Diff: chrome/browser/chromeos/login/signin_screen_controller.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iwyu fixes Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/chromeos/login/screens/gaia_screen.h" 9 #include "chrome/browser/chromeos/login/screens/gaia_screen.h"
10 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h" 10 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const content::NotificationSource& source, 62 const content::NotificationSource& source,
63 const content::NotificationDetails& details) override; 63 const content::NotificationDetails& details) override;
64 64
65 static SignInScreenController* instance_; 65 static SignInScreenController* instance_;
66 66
67 OobeUI* oobe_ui_ = nullptr; 67 OobeUI* oobe_ui_ = nullptr;
68 68
69 // Reference to the WebUI handling layer for the login screen 69 // Reference to the WebUI handling layer for the login screen
70 LoginDisplayWebUIHandler* webui_handler_ = nullptr; 70 LoginDisplayWebUIHandler* webui_handler_ = nullptr;
71 71
72 scoped_ptr<GaiaScreen> gaia_screen_; 72 std::unique_ptr<GaiaScreen> gaia_screen_;
73 scoped_ptr<UserSelectionScreen> user_selection_screen_; 73 std::unique_ptr<UserSelectionScreen> user_selection_screen_;
74 74
75 // Used for notifications during the login process. 75 // Used for notifications during the login process.
76 content::NotificationRegistrar registrar_; 76 content::NotificationRegistrar registrar_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(SignInScreenController); 78 DISALLOW_COPY_AND_ASSIGN(SignInScreenController);
79 }; 79 };
80 80
81 } // namespace chromeos 81 } // namespace chromeos
82 82
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698