summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/chromeos/sim_unlock_ui.h
blob: f7b03d8a2061a0d38b4d674b6712b197bf562cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2011 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.

#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_SIM_UNLOCK_UI_H_
#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_SIM_UNLOCK_UI_H_

#include "base/macros.h"
#include "content/public/browser/web_ui_controller.h"

namespace chromeos {

// A custom WebUI that defines datasource for SIM unlock dialog that is used
// in Chrome OS for specific tasks:
// - Unlock SIM card (enter PIN/PUK codes).
// - Display "SIM card is blocked" message when there're no PUK tries left.
class SimUnlockUI : public content::WebUIController {
 public:
  explicit SimUnlockUI(content::WebUI* web_ui);

 private:
  DISALLOW_COPY_AND_ASSIGN(SimUnlockUI);
};

}  // namespace chromeos

#endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_SIM_UNLOCK_UI_H_