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

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

Issue 2164033002: Refactoring startup logic for upcoming FRE changes (non-Win 10). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding missing constructor Created 4 years, 3 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
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_INTERNAL_H_ 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_
6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_
7 7
8 class MasterPrefs;
9 class Profile; 8 class Profile;
10 9
11 namespace base { 10 namespace base {
12 class FilePath; 11 class FilePath;
13 } 12 }
14 13
15 namespace installer { 14 namespace installer {
16 class MasterPreferences; 15 class MasterPreferences;
17 } 16 }
18 17
19 namespace first_run { 18 namespace first_run {
20 19
20 struct MasterPrefs;
21
21 namespace internal { 22 namespace internal {
22 23
23 enum FirstRunState { 24 enum FirstRunState {
24 FIRST_RUN_UNKNOWN, // The state is not tested or set yet. 25 FIRST_RUN_UNKNOWN, // The state is not tested or set yet.
25 FIRST_RUN_TRUE, 26 FIRST_RUN_TRUE,
26 FIRST_RUN_FALSE, 27 FIRST_RUN_FALSE,
27 }; 28 };
28 29
29 // Sets up master preferences by preferences passed by installer. 30 // Sets up master preferences by preferences passed by installer.
30 void SetupMasterPrefsFromInstallPrefs( 31 void SetupMasterPrefsFromInstallPrefs(
(...skipping 23 matching lines...) Expand all
54 // should exit. 55 // should exit.
55 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs); 56 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs);
56 57
57 // Returns the path for the master preferences file. 58 // Returns the path for the master preferences file.
58 base::FilePath MasterPrefsPath(); 59 base::FilePath MasterPrefsPath();
59 60
60 } // namespace internal 61 } // namespace internal
61 } // namespace first_run 62 } // namespace first_run
62 63
63 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ 64 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698