| OLD | NEW |
| 1 // Copyright (c) 2011 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/update_screen.h" | 5 #include "chrome/browser/chromeos/login/update_screen.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/threading/thread_restrictions.h" | 10 #include "base/threading/thread_restrictions.h" |
| 11 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | |
| 12 #include "chrome/browser/chromeos/login/screen_observer.h" | 11 #include "chrome/browser/chromeos/login/screen_observer.h" |
| 13 #include "chrome/browser/chromeos/login/update_screen_actor.h" | 12 #include "chrome/browser/chromeos/login/update_screen_actor.h" |
| 14 #include "chrome/browser/chromeos/login/wizard_controller.h" | 13 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 14 #include "chromeos/dbus/dbus_thread_manager.h" |
| 15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
| 16 | 16 |
| 17 using content::BrowserThread; | 17 using content::BrowserThread; |
| 18 | 18 |
| 19 namespace chromeos { | 19 namespace chromeos { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 // Progress bar stages. Each represents progress bar value | 23 // Progress bar stages. Each represents progress bar value |
| 24 // at the beginning of each stage. | 24 // at the beginning of each stage. |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 // if the file exists and not empty, there is critical update. | 294 // if the file exists and not empty, there is critical update. |
| 295 return true; | 295 return true; |
| 296 } | 296 } |
| 297 | 297 |
| 298 void UpdateScreen::OnActorDestroyed(UpdateScreenActor* actor) { | 298 void UpdateScreen::OnActorDestroyed(UpdateScreenActor* actor) { |
| 299 if (actor_ == actor) | 299 if (actor_ == actor) |
| 300 actor_ = NULL; | 300 actor_ = NULL; |
| 301 } | 301 } |
| 302 | 302 |
| 303 } // namespace chromeos | 303 } // namespace chromeos |
| OLD | NEW |