OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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.h" | 5 #include "chrome/browser/first_run/first_run.h" |
6 | 6 |
7 #import "base/scoped_nsobject.h" | 7 #import "base/scoped_nsobject.h" |
8 #import "chrome/app/breakpad_mac.h" | 8 #import "chrome/app/breakpad_mac.h" |
9 #include "chrome/browser/prefs/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
10 #include "chrome/browser/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/search_engines/template_url_model.h" | 11 #include "chrome/browser/search_engines/template_url_model.h" |
12 #include "chrome/browser/shell_integration.h" | 12 #include "chrome/browser/shell_integration.h" |
13 #import "chrome/browser/ui/cocoa/first_run_dialog.h" | 13 #import "chrome/browser/ui/cocoa/first_run_dialog.h" |
14 #import "chrome/browser/ui/cocoa/search_engine_dialog_controller.h" | 14 #import "chrome/browser/ui/cocoa/search_engine_dialog_controller.h" |
15 #include "chrome/common/pref_names.h" | 15 #include "chrome/common/pref_names.h" |
16 #include "chrome/installer/util/google_update_constants.h" | 16 #include "chrome/installer/util/google_update_constants.h" |
17 #include "chrome/installer/util/google_update_settings.h" | 17 #include "chrome/installer/util/google_update_settings.h" |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 bool FirstRun::IsOrganic() { | 106 bool FirstRun::IsOrganic() { |
107 // We treat all installs as organic. | 107 // We treat all installs as organic. |
108 return true; | 108 return true; |
109 } | 109 } |
110 | 110 |
111 // static | 111 // static |
112 void FirstRun::PlatformSetup() { | 112 void FirstRun::PlatformSetup() { |
113 // Things that Windows does here (creating a desktop icon, for example) are | 113 // Things that Windows does here (creating a desktop icon, for example) are |
114 // not needed. | 114 // not needed. |
115 } | 115 } |
OLD | NEW |