Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/browser/first_run/first_run.h

Issue 12223062: Support variations_seed parameter in MasterPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698