Index: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (revision 91771) |
+++ chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (working copy) |
@@ -52,9 +52,9 @@ |
InternetOptionsHandler::InternetOptionsHandler() |
: chromeos::CrosOptionsPageUIHandler( |
new chromeos::UserCrosSettingsProvider) { |
- registrar_.Add(this, NotificationType::REQUIRE_PIN_SETTING_CHANGE_ENDED, |
+ registrar_.Add(this, chrome::REQUIRE_PIN_SETTING_CHANGE_ENDED, |
NotificationService::AllSources()); |
- registrar_.Add(this, NotificationType::ENTER_PIN_ENDED, |
+ registrar_.Add(this, chrome::ENTER_PIN_ENDED, |
NotificationService::AllSources()); |
cros_ = chromeos::CrosLibrary::Get()->GetNetworkLibrary(); |
if (cros_) { |
@@ -531,13 +531,13 @@ |
const NotificationSource& source, |
const NotificationDetails& details) { |
chromeos::CrosOptionsPageUIHandler::Observe(type, source, details); |
- if (type == NotificationType::REQUIRE_PIN_SETTING_CHANGE_ENDED) { |
+ if (type == chrome::REQUIRE_PIN_SETTING_CHANGE_ENDED) { |
bool require_pin = *Details<bool>(details).ptr(); |
DictionaryValue dictionary; |
dictionary.SetBoolean("requirePin", require_pin); |
web_ui_->CallJavascriptFunction( |
"options.InternetOptions.updateSecurityTab", dictionary); |
- } else if (type == NotificationType::ENTER_PIN_ENDED) { |
+ } else if (type == chrome::ENTER_PIN_ENDED) { |
// We make an assumption (which is valid for now) that the SIM |
// unlock dialog is put up only when the user is trying to enable |
// mobile data. |