Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 // Time in seconds after which we decide that the device has not rebooted | 84 // Time in seconds after which we decide that the device has not rebooted |
| 85 // automatically. If reboot didn't happen during this interval, ask user to | 85 // automatically. If reboot didn't happen during this interval, ask user to |
| 86 // reboot device manually. | 86 // reboot device manually. |
| 87 int reboot_check_delay_; | 87 int reboot_check_delay_; |
| 88 | 88 |
| 89 // True if in the process of checking for update. | 89 // True if in the process of checking for update. |
| 90 bool is_checking_for_update_; | 90 bool is_checking_for_update_; |
| 91 // Flag that is used to detect when update download has just started. | 91 // Flag that is used to detect when update download has just started. |
| 92 bool is_downloading_update_; | 92 bool is_downloading_update_; |
| 93 // If true, update deadlines are ignored. | 93 // If true, update deadlines are ignored. |
| 94 // Note, this is true by default. See "http://crosbug.com/10068". | 94 // Note, this is fasle by default. |
|
Nikita (slow)
2011/06/07 15:31:03
nit: false
Dmitry Polukhin
2011/06/08 07:24:21
Done.
| |
| 95 bool is_ignore_update_deadlines_; | 95 bool is_ignore_update_deadlines_; |
| 96 // Whether the update screen is shown. | 96 // Whether the update screen is shown. |
| 97 bool is_shown_; | 97 bool is_shown_; |
| 98 // Ignore fist IDLE status that is sent before update screen initiated check. | |
| 99 bool ignore_idle_status_; | |
| 98 | 100 |
| 99 // Keeps actor which is delegated with all showing operations. | 101 // Keeps actor which is delegated with all showing operations. |
| 100 UpdateScreenActor* actor_; | 102 UpdateScreenActor* actor_; |
| 101 | 103 |
| 102 DISALLOW_COPY_AND_ASSIGN(UpdateScreen); | 104 DISALLOW_COPY_AND_ASSIGN(UpdateScreen); |
| 103 }; | 105 }; |
| 104 | 106 |
| 105 } // namespace chromeos | 107 } // namespace chromeos |
| 106 | 108 |
| 107 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ | 109 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ |
| OLD | NEW |