OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FIRST_RUN_GOODIES_DISPLAYER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/ui/browser_list_observer.h" | 10 #include "chrome/browser/ui/browser_list_observer.h" |
10 | 11 |
11 namespace chromeos { | 12 namespace chromeos { |
12 namespace first_run { | 13 namespace first_run { |
13 | 14 |
14 struct GoodiesDisplayerTestInfo; | 15 struct GoodiesDisplayerTestInfo; |
15 | 16 |
16 // Handles display of OOBE Goodies page on first display of browser window on | 17 // Handles display of OOBE Goodies page on first display of browser window on |
17 // new Chromebooks. | 18 // new Chromebooks. |
18 class GoodiesDisplayer : public chrome::BrowserListObserver { | 19 class GoodiesDisplayer : public chrome::BrowserListObserver { |
(...skipping 25 matching lines...) Expand all Loading... |
44 | 45 |
45 int days_since_oobe; // Fake age of device. | 46 int days_since_oobe; // Fake age of device. |
46 bool setup_complete; // True when finished, whether GD created or not. | 47 bool setup_complete; // True when finished, whether GD created or not. |
47 base::Closure on_setup_complete_callback; // Called after multithread setup. | 48 base::Closure on_setup_complete_callback; // Called after multithread setup. |
48 }; | 49 }; |
49 | 50 |
50 } // namespace first_run | 51 } // namespace first_run |
51 } // namespace chromeos | 52 } // namespace chromeos |
52 | 53 |
53 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
OLD | NEW |