1 // Copyright (c) 2012 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_MOBILE_SETUP_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_ 7 8 #include "base/memory/weak_ptr.h" 9 #include "content/public/browser/web_ui_controller.h" 10 11 // A custom WebUI that defines datasource for mobile setup registration page 12 // that is used in Chrome OS activate modem and perform plan subscription tasks. 13 class MobileSetupUI : public content::WebUIController, 14 public base::SupportsWeakPtr<MobileSetupUI> { 15 public: 16 explicit MobileSetupUI(content::WebUI* web_ui); 17 18 private: 19 // WebUIController overrides. 20 virtual void RenderViewCreated( 21 content::RenderViewHost* render_view_host) OVERRIDE; 22 23 DISALLOW_COPY_AND_ASSIGN(MobileSetupUI); 24 }; 25 26 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_ 27