| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 ~MasterPrefs(); | 64 ~MasterPrefs(); |
| 65 | 65 |
| 66 int ping_delay; | 66 int ping_delay; |
| 67 bool homepage_defined; | 67 bool homepage_defined; |
| 68 int do_import_items; | 68 int do_import_items; |
| 69 int dont_import_items; | 69 int dont_import_items; |
| 70 bool make_chrome_default; | 70 bool make_chrome_default; |
| 71 bool suppress_first_run_default_browser_prompt; | 71 bool suppress_first_run_default_browser_prompt; |
| 72 std::vector<GURL> new_tabs; | 72 std::vector<GURL> new_tabs; |
| 73 std::vector<GURL> bookmarks; | 73 std::vector<GURL> bookmarks; |
| 74 std::string import_bookmarks_path; |
| 74 std::string variations_seed; | 75 std::string variations_seed; |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 // Returns true if this is the first time chrome is run for this user. | 78 // Returns true if this is the first time chrome is run for this user. |
| 78 bool IsChromeFirstRun(); | 79 bool IsChromeFirstRun(); |
| 79 | 80 |
| 80 // Creates the sentinel file that signals that chrome has been configured. | 81 // Creates the sentinel file that signals that chrome has been configured. |
| 81 bool CreateSentinel(); | 82 bool CreateSentinel(); |
| 82 | 83 |
| 83 // Get RLZ ping delay pref name. | 84 // Get RLZ ping delay pref name. |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 const content::NotificationDetails& details) OVERRIDE; | 196 const content::NotificationDetails& details) OVERRIDE; |
| 196 | 197 |
| 197 content::NotificationRegistrar registrar_; | 198 content::NotificationRegistrar registrar_; |
| 198 | 199 |
| 199 DISALLOW_COPY_AND_ASSIGN(FirstRunBubbleLauncher); | 200 DISALLOW_COPY_AND_ASSIGN(FirstRunBubbleLauncher); |
| 200 }; | 201 }; |
| 201 | 202 |
| 202 } // namespace first_run | 203 } // namespace first_run |
| 203 | 204 |
| 204 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 205 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
| OLD | NEW |