Commit be6556aa authored by Alexander Alekseev's avatar Alexander Alekseev Committed by Commit Bot

Chrome OS OOBE: Refactor initialization in oobe_ui.

This CL splits CreateOobeUIDataSource into several smaller functions.

Bug: 864686
Change-Id: I6843595bf66a9584778fa5ebbff8167a0ce605d2
Reviewed-on: https://chromium-review.googlesource.com/1182608
Commit-Queue: Alexander Alekseev <alemate@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584930}
parent 1280d17a
......@@ -78,13 +78,14 @@ class OobeUI : public content::WebUIController,
public:
// List of known types of OobeUI. Type added as path in chrome://oobe url, for
// example chrome://oobe/user-adding.
static const char kOobeDisplay[];
static const char kLoginDisplay[];
static const char kLockDisplay[];
static const char kUserAddingDisplay[];
static const char kAppLaunchSplashDisplay[];
static const char kArcKioskSplashDisplay[];
static const char kDiscoverDisplay[];
static const char kGaiaSigninDisplay[];
static const char kLockDisplay[];
static const char kLoginDisplay[];
static const char kOobeDisplay[];
static const char kUserAddingDisplay[];
class Observer {
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment