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

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

Issue 10702097: Adds browser preferences to configure first-run flow on Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed the new field in SBC. Created 8 years, 4 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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 30 matching lines...) Expand all
41 // See ProcessMasterPreferences for more info about this structure. 41 // See ProcessMasterPreferences for more info about this structure.
42 struct MasterPrefs { 42 struct MasterPrefs {
43 MasterPrefs(); 43 MasterPrefs();
44 ~MasterPrefs(); 44 ~MasterPrefs();
45 45
46 int ping_delay; 46 int ping_delay;
47 bool homepage_defined; 47 bool homepage_defined;
48 int do_import_items; 48 int do_import_items;
49 int dont_import_items; 49 int dont_import_items;
50 bool make_chrome_default; 50 bool make_chrome_default;
51 bool suppress_first_run_default_browser_prompt;
51 std::vector<GURL> new_tabs; 52 std::vector<GURL> new_tabs;
52 std::vector<GURL> bookmarks; 53 std::vector<GURL> bookmarks;
53 }; 54 };
54 55
55 // Returns true if this is the first time chrome is run for this user. 56 // Returns true if this is the first time chrome is run for this user.
56 bool IsChromeFirstRun(); 57 bool IsChromeFirstRun();
57 58
58 // Creates the sentinel file that signals that chrome has been configured. 59 // Creates the sentinel file that signals that chrome has been configured.
59 bool CreateSentinel(); 60 bool CreateSentinel();
60 61
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 const content::NotificationDetails& details) OVERRIDE; 137 const content::NotificationDetails& details) OVERRIDE;
137 138
138 content::NotificationRegistrar registrar_; 139 content::NotificationRegistrar registrar_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(FirstRunBubbleLauncher); 141 DISALLOW_COPY_AND_ASSIGN(FirstRunBubbleLauncher);
141 }; 142 };
142 143
143 } // namespace first_run 144 } // namespace first_run
144 145
145 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_H_ 146 #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