Commit 088a3d1c authored by Aga Wronska's avatar Aga Wronska Committed by Commit Bot

Fix style nits in demo mode setup code.

Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I43d9aea4fa423681080f672ec3d455587e80cd86
Reviewed-on: https://chromium-review.googlesource.com/1112389Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
Reviewed-by: default avatarJacob Dufault <jdufault@chromium.org>
Commit-Queue: Aga Wronska <agawronska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570115}
parent 462adb28
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -8,13 +8,14 @@ ...@@ -8,13 +8,14 @@
#include "base/logging.h" #include "base/logging.h"
#include "chrome/browser/chromeos/login/screen_manager.h" #include "chrome/browser/chromeos/login/screen_manager.h"
#include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h"
#include "chrome/browser/chromeos/login/screens/demo_setup_screen_view.h"
#include "chrome/browser/chromeos/policy/enrollment_config.h" #include "chrome/browser/chromeos/policy/enrollment_config.h"
namespace { namespace {
constexpr const char kUserActionOnlineSetup[] = "online-setup"; constexpr char kUserActionOnlineSetup[] = "online-setup";
constexpr const char kUserActionOfflineSetup[] = "offline-setup"; constexpr char kUserActionOfflineSetup[] = "offline-setup";
constexpr const char kUserActionClose[] = "close-setup"; constexpr char kUserActionClose[] = "close-setup";
// The policy blob data for offline demo-mode is embedded into the filesystem. // The policy blob data for offline demo-mode is embedded into the filesystem.
// TODO(mukai, agawronska): fix this when switching to dm-verity image. // TODO(mukai, agawronska): fix this when switching to dm-verity image.
......
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
#include "chrome/browser/chromeos/login/demo_mode/demo_setup_controller.h" #include "chrome/browser/chromeos/login/demo_mode/demo_setup_controller.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h" #include "chrome/browser/chromeos/login/screens/base_screen.h"
#include "chrome/browser/chromeos/login/screens/demo_setup_screen_view.h"
namespace chromeos { namespace chromeos {
class BaseScreenDelegate; class BaseScreenDelegate;
class DemoSetupScreenView;
// Controlls demo mode setup. The screen can be shown during OOBE. It allows // Controlls demo mode setup. The screen can be shown during OOBE. It allows
// user to setup retail demo mode on the device. // user to setup retail demo mode on the device.
......
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<dom-module id="demo-setup-md"> <dom-module id="demo-setup-md">
<template> <template>
<link rel="stylesheet" href="demo_setup.css"> <link rel="stylesheet" href="demo_setup.css">
......
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<div class="step hidden right" id="demo-setup" role="group" hidden> <div class="step hidden right" id="demo-setup" role="group" hidden>
<demo-setup-md id="demo-setup-content"></demo-setup-md> <demo-setup-md id="demo-setup-content"></demo-setup-md>
</div> </div>
\ No newline at end of file
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
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