| 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 variations_seed; |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 // Returns true if this is the first time chrome is run for this user. | 77 // Returns true if this is the first time chrome is run for this user. |
| 77 bool IsChromeFirstRun(); | 78 bool IsChromeFirstRun(); |
| 78 | 79 |
| 79 // Creates the sentinel file that signals that chrome has been configured. | 80 // Creates the sentinel file that signals that chrome has been configured. |
| 80 bool CreateSentinel(); | 81 bool CreateSentinel(); |
| 81 | 82 |
| 82 // Get RLZ ping delay pref name. | 83 // Get RLZ ping delay pref name. |
| 83 std::string GetPingDelayPrefName(); | 84 std::string GetPingDelayPrefName(); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 const content::NotificationDetails& details) OVERRIDE; | 177 const content::NotificationDetails& details) OVERRIDE; |
| 177 | 178 |
| 178 content::NotificationRegistrar registrar_; | 179 content::NotificationRegistrar registrar_; |
| 179 | 180 |
| 180 DISALLOW_COPY_AND_ASSIGN(FirstRunBubbleLauncher); | 181 DISALLOW_COPY_AND_ASSIGN(FirstRunBubbleLauncher); |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 } // namespace first_run | 184 } // namespace first_run |
| 184 | 185 |
| 185 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ | 186 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ |
| OLD | NEW |