| 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.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 #include "base/sys_string_conversions.h" | 8 #include "base/sys_string_conversions.h" |
| 9 #import "chrome/app/breakpad_mac.h" | 9 #import "chrome/app/breakpad_mac.h" |
| 10 #import "chrome/browser/cocoa/first_run_dialog.h" | 10 #import "chrome/browser/cocoa/first_run_dialog.h" |
| 11 #import "chrome/browser/cocoa/import_progress_dialog.h" | 11 #import "chrome/browser/cocoa/import_progress_dialog.h" |
| 12 #include "chrome/browser/importer/importer.h" | 12 #include "chrome/browser/importer/importer.h" |
| 13 #include "chrome/browser/importer/importer_data_types.h" | 13 #include "chrome/browser/importer/importer_data_types.h" |
| 14 #include "chrome/browser/metrics/user_metrics.h" | 14 #include "chrome/browser/metrics/user_metrics.h" |
| 15 #include "chrome/browser/shell_integration.h" | 15 #include "chrome/browser/shell_integration.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 ignore_result(gc.release()); | 149 ignore_result(gc.release()); |
| 150 StartImportingWithUI(nil, items, importer_host_.get(), | 150 StartImportingWithUI(nil, items, importer_host_.get(), |
| 151 source_profile, profile, this, true); | 151 source_profile, profile, this, true); |
| 152 } else { | 152 } else { |
| 153 // This is called by the importer if it runs. | 153 // This is called by the importer if it runs. |
| 154 FirstRunDone(); | 154 FirstRunDone(); |
| 155 } | 155 } |
| 156 | 156 |
| 157 return true; | 157 return true; |
| 158 } | 158 } |
| OLD | NEW |