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

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h

Issue 2429033003: cros: Cleanup lock screen and OOBE C++ backing code. (Closed)
Patch Set: Address comments Created 4 years, 2 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/ui/webui/chromeos/login/core_oobe_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
index 6609e39a913ef8fa8f497e805f56b2087fec94d9..aa2d27ef5d6eea7c90d728a7c5d7293f91444f38 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
@@ -172,17 +172,17 @@ class CoreOobeHandler : public BaseScreenHandler,
//
// The instance becomes initialized after the corresponding message is
// received from javascript side.
- bool is_initialized_;
+ bool is_initialized_ = false;
// Javascript calls that have been deferred while the instance was not
// initialized yet.
std::vector<base::Closure> deferred_js_calls_;
// Owner of this handler.
- OobeUI* oobe_ui_;
+ OobeUI* oobe_ui_ = nullptr;
// True if we should show OOBE instead of login.
- bool show_oobe_ui_;
+ bool show_oobe_ui_ = false;
// Updates when version info is changed.
VersionInfoUpdater version_info_updater_;
@@ -190,7 +190,7 @@ class CoreOobeHandler : public BaseScreenHandler,
// Help application used for help dialogs.
scoped_refptr<HelpAppLauncher> help_app_;
- Delegate* delegate_;
+ Delegate* delegate_ = nullptr;
std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_;

Powered by Google App Engine
This is Rietveld 408576698