| 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/screens/update_screen.h" | 5 #include "chrome/browser/chromeos/login/screens/update_screen.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | |
| 11 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 12 #include "base/logging.h" | 11 #include "base/logging.h" |
| 13 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 14 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
| 15 #include "chrome/browser/chromeos/login/screens/error_screen.h" | 14 #include "chrome/browser/chromeos/login/screens/error_screen.h" |
| 16 #include "chrome/browser/chromeos/login/screens/screen_observer.h" | 15 #include "chrome/browser/chromeos/login/screens/screen_observer.h" |
| 17 #include "chrome/browser/chromeos/login/screens/update_screen_actor.h" | 16 #include "chrome/browser/chromeos/login/screens/update_screen_actor.h" |
| 18 #include "chrome/browser/chromeos/login/startup_utils.h" | 17 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 19 #include "chrome/browser/chromeos/login/wizard_controller.h" | 18 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 20 #include "chromeos/chromeos_switches.h" | |
| 21 #include "chromeos/dbus/dbus_thread_manager.h" | 19 #include "chromeos/dbus/dbus_thread_manager.h" |
| 22 #include "chromeos/network/network_state.h" | 20 #include "chromeos/network/network_state.h" |
| 23 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| 24 | 22 |
| 25 using content::BrowserThread; | 23 using content::BrowserThread; |
| 26 | 24 |
| 27 namespace chromeos { | 25 namespace chromeos { |
| 28 | 26 |
| 29 namespace { | 27 namespace { |
| 30 | 28 |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 GetErrorScreen()->SetErrorState(ErrorScreen::ERROR_STATE_PROXY, | 514 GetErrorScreen()->SetErrorState(ErrorScreen::ERROR_STATE_PROXY, |
| 517 std::string()); | 515 std::string()); |
| 518 break; | 516 break; |
| 519 default: | 517 default: |
| 520 NOTREACHED(); | 518 NOTREACHED(); |
| 521 break; | 519 break; |
| 522 } | 520 } |
| 523 } | 521 } |
| 524 | 522 |
| 525 } // namespace chromeos | 523 } // namespace chromeos |
| OLD | NEW |