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_H_ | 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // TODO(macourteau): as part of the master preferences refactoring effort, | 68 // TODO(macourteau): as part of the master preferences refactoring effort, |
69 // remove items from here which are being stored temporarily only to be later | 69 // remove items from here which are being stored temporarily only to be later |
70 // dumped into local_state. Also see related TODO in chrome_browser_main.cc. | 70 // dumped into local_state. Also see related TODO in chrome_browser_main.cc. |
71 | 71 |
72 int ping_delay; | 72 int ping_delay; |
73 bool homepage_defined; | 73 bool homepage_defined; |
74 int do_import_items; | 74 int do_import_items; |
75 int dont_import_items; | 75 int dont_import_items; |
76 bool make_chrome_default_for_user; | 76 bool make_chrome_default_for_user; |
77 bool suppress_first_run_default_browser_prompt; | 77 bool suppress_first_run_default_browser_prompt; |
| 78 bool welcome_page_on_os_upgrade_enabled; |
78 std::vector<GURL> new_tabs; | 79 std::vector<GURL> new_tabs; |
79 std::vector<GURL> bookmarks; | 80 std::vector<GURL> bookmarks; |
80 std::string import_bookmarks_path; | 81 std::string import_bookmarks_path; |
81 std::string compressed_variations_seed; | 82 std::string compressed_variations_seed; |
82 std::string variations_seed; | 83 std::string variations_seed; |
83 std::string variations_seed_signature; | 84 std::string variations_seed_signature; |
84 std::string suppress_default_browser_prompt_for_version; | 85 std::string suppress_default_browser_prompt_for_version; |
85 }; | 86 }; |
86 | 87 |
87 // Returns true if this is the first time chrome is run for this user. | 88 // Returns true if this is the first time chrome is run for this user. |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // | 173 // |
173 // See chrome/installer/util/master_preferences.h for a description of | 174 // See chrome/installer/util/master_preferences.h for a description of |
174 // 'master_preferences' file. | 175 // 'master_preferences' file. |
175 ProcessMasterPreferencesResult ProcessMasterPreferences( | 176 ProcessMasterPreferencesResult ProcessMasterPreferences( |
176 const base::FilePath& user_data_dir, | 177 const base::FilePath& user_data_dir, |
177 MasterPrefs* out_prefs); | 178 MasterPrefs* out_prefs); |
178 | 179 |
179 } // namespace first_run | 180 } // namespace first_run |
180 | 181 |
181 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 182 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
OLD | NEW |