OLD | NEW |
1 // Copyright (c) 2012 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_FIRST_RUN_FIRST_RUN_INTERNAL_H_ | 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ |
6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ | 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // skip_first_run_ui setting is set to true. In the case the setting is | 63 // skip_first_run_ui setting is set to true. In the case the setting is |
64 // not found or specified, it returns false by default. | 64 // not found or specified, it returns false by default. |
65 bool SkipFirstRunUI(installer::MasterPreferences* install_prefs); | 65 bool SkipFirstRunUI(installer::MasterPreferences* install_prefs); |
66 | 66 |
67 // Sets ping_delay. | 67 // Sets ping_delay. |
68 void SetRLZPref(first_run::MasterPrefs* out_prefs, | 68 void SetRLZPref(first_run::MasterPrefs* out_prefs, |
69 installer::MasterPreferences* install_prefs); | 69 installer::MasterPreferences* install_prefs); |
70 | 70 |
71 // -- Platform-specific functions -- | 71 // -- Platform-specific functions -- |
72 | 72 |
| 73 void DoPostImportPlatformSpecificTasks(); |
| 74 |
73 // Gives the full path to the sentinel file. The file might not exist. | 75 // Gives the full path to the sentinel file. The file might not exist. |
74 // This function has a common implementation on OS_POSIX and a windows specific | 76 // This function has a common implementation on OS_POSIX and a windows specific |
75 // implementation. | 77 // implementation. |
76 bool GetFirstRunSentinelFilePath(FilePath* path); | 78 bool GetFirstRunSentinelFilePath(FilePath* path); |
77 | 79 |
78 // This function has a common implementationin for all non-linux platforms, and | 80 // This function has a common implementationin for all non-linux platforms, and |
79 // a linux specific implementation. | 81 // a linux specific implementation. |
80 bool IsOrganicFirstRun(); | 82 bool IsOrganicFirstRun(); |
81 | 83 |
82 // Imports settings. This may be done in a separate process depending on the | 84 // Imports settings. This may be done in a separate process depending on the |
(...skipping 20 matching lines...) Expand all Loading... |
103 | 105 |
104 // Shows the EULA dialog if required. Returns true if the EULA is accepted, | 106 // Shows the EULA dialog if required. Returns true if the EULA is accepted, |
105 // returns false if the EULA has not been accepted, in which case the browser | 107 // returns false if the EULA has not been accepted, in which case the browser |
106 // should exit. | 108 // should exit. |
107 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs); | 109 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs); |
108 | 110 |
109 } // namespace internal | 111 } // namespace internal |
110 } // namespace first_run | 112 } // namespace first_run |
111 | 113 |
112 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ | 114 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ |
OLD | NEW |