OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FIRST_RUN_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/first_run/first_run_helper.h" | 11 #include "ash/first_run/first_run_helper.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/time/time.h" |
17 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h" | 18 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h" |
18 | 19 |
19 class Profile; | 20 class Profile; |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 class WebContents; | 23 class WebContents; |
23 } | 24 } |
24 | 25 |
25 namespace chromeos { | 26 namespace chromeos { |
26 | 27 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 88 |
88 // Profile used for webui and help app. | 89 // Profile used for webui and help app. |
89 Profile* user_profile_; | 90 Profile* user_profile_; |
90 | 91 |
91 // The work that should be made after actor has been finalized. | 92 // The work that should be made after actor has been finalized. |
92 base::Closure on_actor_finalized_; | 93 base::Closure on_actor_finalized_; |
93 | 94 |
94 // Web contents of WebUI. | 95 // Web contents of WebUI. |
95 content::WebContents* web_contents_for_tests_; | 96 content::WebContents* web_contents_for_tests_; |
96 | 97 |
| 98 // Time when tutorial was started. |
| 99 base::Time start_time_; |
| 100 |
97 DISALLOW_COPY_AND_ASSIGN(FirstRunController); | 101 DISALLOW_COPY_AND_ASSIGN(FirstRunController); |
98 }; | 102 }; |
99 | 103 |
100 } // namespace chromeos | 104 } // namespace chromeos |
101 | 105 |
102 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ | 106 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ |
103 | 107 |
OLD | NEW |