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 #include "chrome/browser/first_run/first_run_internal.h" | 5 #include "chrome/browser/first_run/first_run_internal.h" |
6 | 6 |
7 #include "base/file_util.h" | |
8 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/first_run/first_run_dialog.h" | 13 #include "chrome/browser/first_run/first_run_dialog.h" |
14 #include "chrome/common/chrome_constants.h" | 14 #include "chrome/common/chrome_constants.h" |
15 #include "chrome/common/chrome_paths.h" | 15 #include "chrome/common/chrome_paths.h" |
16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
17 #include "chrome/installer/util/google_update_settings.h" | 17 #include "chrome/installer/util/google_update_settings.h" |
18 #include "chrome/installer/util/master_preferences.h" | 18 #include "chrome/installer/util/master_preferences.h" |
(...skipping 29 matching lines...) Expand all Loading... |
48 return !GetFirstRunSentinelFilePath(&sentinel) || base::PathExists(sentinel); | 48 return !GetFirstRunSentinelFilePath(&sentinel) || base::PathExists(sentinel); |
49 } | 49 } |
50 | 50 |
51 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs) { | 51 bool ShowPostInstallEULAIfNeeded(installer::MasterPreferences* install_prefs) { |
52 // The EULA is only handled on Windows. | 52 // The EULA is only handled on Windows. |
53 return true; | 53 return true; |
54 } | 54 } |
55 | 55 |
56 } // namespace internal | 56 } // namespace internal |
57 } // namespace first_run | 57 } // namespace first_run |
OLD | NEW |