| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // This file contains the iOS equivalent of FirstRun. | 5 // This file contains the iOS equivalent of FirstRun. |
| 6 | 6 |
| 7 #ifndef IOS_CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 7 #ifndef IOS_CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
| 8 #define IOS_CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 8 #define IOS_CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class FilePath; | 13 class FilePath; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace user_prefs { | 16 namespace user_prefs { |
| 17 class PrefRegistrySyncable; | 17 class PrefRegistrySyncable; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // A collection of functions to manage the user experience when running | 20 // A collection of functions to manage the user experience when running |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 FIRST_RUN_FALSE | 52 FIRST_RUN_FALSE |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 // This variable should only be accessed through IsChromeFirstRun(). | 55 // This variable should only be accessed through IsChromeFirstRun(). |
| 56 static FirstRunState first_run_; | 56 static FirstRunState first_run_; |
| 57 | 57 |
| 58 DISALLOW_IMPLICIT_CONSTRUCTORS(FirstRun); | 58 DISALLOW_IMPLICIT_CONSTRUCTORS(FirstRun); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 #endif // IOS_CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 61 #endif // IOS_CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
| OLD | NEW |