| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/login/helper.h" | 5 #include "chrome/browser/chromeos/login/helper.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "chrome/grit/generated_resources.h" | 10 #include "chrome/grit/generated_resources.h" |
| 11 #include "chrome/grit/theme_resources.h" | |
| 12 #include "chromeos/chromeos_switches.h" | 11 #include "chromeos/chromeos_switches.h" |
| 13 #include "chromeos/network/network_handler.h" | 12 #include "chromeos/network/network_handler.h" |
| 14 #include "chromeos/network/network_state.h" | 13 #include "chromeos/network/network_state.h" |
| 15 #include "chromeos/network/network_state_handler.h" | 14 #include "chromeos/network/network_state_handler.h" |
| 16 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 17 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
| 18 #include "ui/gfx/image/image_skia.h" | 17 #include "ui/gfx/image/image_skia.h" |
| 19 #include "ui/gfx/screen.h" | 18 #include "ui/gfx/screen.h" |
| 20 | 19 |
| 21 namespace chromeos { | 20 namespace chromeos { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 bool NetworkStateHelper::IsConnecting() const { | 78 bool NetworkStateHelper::IsConnecting() const { |
| 80 chromeos::NetworkStateHandler* nsh = | 79 chromeos::NetworkStateHandler* nsh = |
| 81 chromeos::NetworkHandler::Get()->network_state_handler(); | 80 chromeos::NetworkHandler::Get()->network_state_handler(); |
| 82 return nsh->ConnectingNetworkByType( | 81 return nsh->ConnectingNetworkByType( |
| 83 chromeos::NetworkTypePattern::Default()) != NULL; | 82 chromeos::NetworkTypePattern::Default()) != NULL; |
| 84 } | 83 } |
| 85 | 84 |
| 86 } // namespace login | 85 } // namespace login |
| 87 | 86 |
| 88 } // namespace chromeos | 87 } // namespace chromeos |
| OLD | NEW |