| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // remove items from here which are being stored temporarily only to be later | 75 // remove items from here which are being stored temporarily only to be later |
| 76 // dumped into local_state. Also see related TODO in chrome_browser_main.cc. | 76 // dumped into local_state. Also see related TODO in chrome_browser_main.cc. |
| 77 | 77 |
| 78 bool make_chrome_default_for_user = false; | 78 bool make_chrome_default_for_user = false; |
| 79 bool suppress_first_run_default_browser_prompt = false; | 79 bool suppress_first_run_default_browser_prompt = false; |
| 80 bool welcome_page_on_os_upgrade_enabled = true; | 80 bool welcome_page_on_os_upgrade_enabled = true; |
| 81 std::vector<GURL> new_tabs; | 81 std::vector<GURL> new_tabs; |
| 82 std::vector<GURL> bookmarks; | 82 std::vector<GURL> bookmarks; |
| 83 std::string import_bookmarks_path; | 83 std::string import_bookmarks_path; |
| 84 std::string compressed_variations_seed; | 84 std::string compressed_variations_seed; |
| 85 std::string variations_seed; | |
| 86 std::string variations_seed_signature; | 85 std::string variations_seed_signature; |
| 87 std::string suppress_default_browser_prompt_for_version; | 86 std::string suppress_default_browser_prompt_for_version; |
| 88 }; | 87 }; |
| 89 | 88 |
| 90 void RegisterProfilePrefs( | 89 void RegisterProfilePrefs( |
| 91 user_prefs::PrefRegistrySyncable* registry); | 90 user_prefs::PrefRegistrySyncable* registry); |
| 92 | 91 |
| 93 // Returns true if Chrome should behave as if this is the first time Chrome is | 92 // Returns true if Chrome should behave as if this is the first time Chrome is |
| 94 // run for this user. | 93 // run for this user. |
| 95 bool IsChromeFirstRun(); | 94 bool IsChromeFirstRun(); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 // | 186 // |
| 188 // See chrome/installer/util/master_preferences.h for a description of | 187 // See chrome/installer/util/master_preferences.h for a description of |
| 189 // 'master_preferences' file. | 188 // 'master_preferences' file. |
| 190 ProcessMasterPreferencesResult ProcessMasterPreferences( | 189 ProcessMasterPreferencesResult ProcessMasterPreferences( |
| 191 const base::FilePath& user_data_dir, | 190 const base::FilePath& user_data_dir, |
| 192 MasterPrefs* out_prefs); | 191 MasterPrefs* out_prefs); |
| 193 | 192 |
| 194 } // namespace first_run | 193 } // namespace first_run |
| 195 | 194 |
| 196 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 195 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
| OLD | NEW |