diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 22:33:23 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 22:33:23 +0000 |
commit | 0f42477a45fb4fb6714a9c872f9ed37639c62852 (patch) | |
tree | 5c140d84db0fde643c88449a34b26ac4c5539027 /chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc | |
parent | 133bf5be612e082d10a96e995c61827613a0d3d3 (diff) | |
download | chromium_src-0f42477a45fb4fb6714a9c872f9ed37639c62852.zip chromium_src-0f42477a45fb4fb6714a9c872f9ed37639c62852.tar.gz chromium_src-0f42477a45fb4fb6714a9c872f9ed37639c62852.tar.bz2 |
WebUI: Get rid of more referecens to DOMUI. Part 2.
BUG= 59945
TEST=trybots
Review URL: http://codereview.chromium.org/6469021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc')
-rw-r--r-- | chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc b/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc index ac3688e..5d422e9 100644 --- a/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc +++ b/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. +// 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. @@ -164,7 +164,7 @@ class MobileSetupHandler void Init(TabContents* contents); // WebUIMessageHandler implementation. - virtual WebUIMessageHandler* Attach(DOMUI* dom_ui); + virtual WebUIMessageHandler* Attach(WebUI* web_ui); virtual void RegisterMessages(); // NetworkLibrary::NetworkManagerObserver implementation. @@ -222,7 +222,7 @@ class MobileSetupHandler DISALLOW_COPY_AND_ASSIGN(TaskProxy); }; - // Handlers for JS DOMUI messages. + // Handlers for JS WebUI messages. void HandleSetTransactionStatus(const ListValue* args); void HandleStartActivation(const ListValue* args); void SetTransactionStatus(const std::string& status); @@ -260,7 +260,7 @@ class MobileSetupHandler // Check the current cellular network for error conditions. bool GotActivationError(const chromeos::CellularNetwork* network, std::string* error); - // Sends status updates to DOMUI page. + // Sends status updates to WebUI page. void UpdatePage(chromeos::CellularNetwork* network, const std::string& error_description); // Changes internal state. @@ -464,8 +464,8 @@ MobileSetupHandler::~MobileSetupHandler() { ReEnableOtherConnections(); } -WebUIMessageHandler* MobileSetupHandler::Attach(DOMUI* dom_ui) { - return WebUIMessageHandler::Attach(dom_ui); +WebUIMessageHandler* MobileSetupHandler::Attach(WebUI* web_ui) { + return WebUIMessageHandler::Attach(web_ui); } void MobileSetupHandler::Init(TabContents* contents) { @@ -1313,7 +1313,7 @@ void MobileSetupHandler::LoadCellularConfig() { // //////////////////////////////////////////////////////////////////////////////// -MobileSetupUI::MobileSetupUI(TabContents* contents) : DOMUI(contents) { +MobileSetupUI::MobileSetupUI(TabContents* contents) : WebUI(contents) { const chromeos::CellularNetwork* network = GetCellularNetwork(); std::string service_path = network ? network->service_path() : std::string(); MobileSetupHandler* handler = new MobileSetupHandler(service_path); |