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 #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 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "chrome/browser/chromeos/dbus/update_engine_client.h" | |
16 #include "chrome/browser/chromeos/login/update_screen_actor.h" | 15 #include "chrome/browser/chromeos/login/update_screen_actor.h" |
17 #include "chrome/browser/chromeos/login/wizard_screen.h" | 16 #include "chrome/browser/chromeos/login/wizard_screen.h" |
| 17 #include "chromeos/dbus/update_engine_client.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 class ScreenObserver; | 21 class ScreenObserver; |
22 | 22 |
23 // Controller for the update screen. It does not depend on the specific | 23 // Controller for the update screen. It does not depend on the specific |
24 // implementation of the screen showing (Views of WebUI based), the dependency | 24 // implementation of the screen showing (Views of WebUI based), the dependency |
25 // is moved to the UpdateScreenActor instead. | 25 // is moved to the UpdateScreenActor instead. |
26 class UpdateScreen: public UpdateEngineClient::Observer, | 26 class UpdateScreen: public UpdateEngineClient::Observer, |
27 public UpdateScreenActor::Delegate, | 27 public UpdateScreenActor::Delegate, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 // Keeps actor which is delegated with all showing operations. | 107 // Keeps actor which is delegated with all showing operations. |
108 UpdateScreenActor* actor_; | 108 UpdateScreenActor* actor_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(UpdateScreen); | 110 DISALLOW_COPY_AND_ASSIGN(UpdateScreen); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace chromeos | 113 } // namespace chromeos |
114 | 114 |
115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ | 115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_H_ |
OLD | NEW |