1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_SIM_UNLOCK_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_SIM_UNLOCK_UI_H_ 7 8 #include "content/public/browser/web_ui_controller.h" 9 10 namespace chromeos { 11 12 // A custom WebUI that defines datasource for SIM unlock dialog that is used 13 // in Chrome OS for specific tasks: 14 // - Unlock SIM card (enter PIN/PUK codes). 15 // - Display "SIM card is blocked" message when there're no PUK tries left. 16 class SimUnlockUI : public content::WebUIController { 17 public: 18 explicit SimUnlockUI(content::WebUI* web_ui); 19 20 private: 21 DISALLOW_COPY_AND_ASSIGN(SimUnlockUI); 22 }; 23 24 } // namespace chromeos 25 26 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_SIM_UNLOCK_UI_H_ 27