OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/importing_progress_view.h" | 5 #include "chrome/browser/views/importing_progress_view.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "chrome/browser/views/standard_layout.h" | 8 #include "chrome/browser/views/standard_layout.h" |
8 #include "chrome/common/l10n_util.h" | |
9 #include "chrome/views/grid_layout.h" | 9 #include "chrome/views/grid_layout.h" |
10 #include "chrome/views/controls/label.h" | 10 #include "chrome/views/controls/label.h" |
11 #include "chrome/views/controls/throbber.h" | 11 #include "chrome/views/controls/throbber.h" |
12 #include "chrome/views/window/window.h" | 12 #include "chrome/views/window/window.h" |
13 #include "grit/chromium_strings.h" | 13 #include "grit/chromium_strings.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "grit/locale_settings.h" | 15 #include "grit/locale_settings.h" |
16 | 16 |
17 //////////////////////////////////////////////////////////////////////////////// | 17 //////////////////////////////////////////////////////////////////////////////// |
18 // ImportingProgressView, public: | 18 // ImportingProgressView, public: |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 305 |
306 // In headless mode it means that we don't show the progress window, but it | 306 // In headless mode it means that we don't show the progress window, but it |
307 // still need it to exist. No user interaction will be required. | 307 // still need it to exist. No user interaction will be required. |
308 if (!coordinator->is_headless()) | 308 if (!coordinator->is_headless()) |
309 window->Show(); | 309 window->Show(); |
310 | 310 |
311 coordinator->StartImportSettings(source_profile, items, | 311 coordinator->StartImportSettings(source_profile, items, |
312 new ProfileWriter(target_profile), | 312 new ProfileWriter(target_profile), |
313 first_run); | 313 first_run); |
314 } | 314 } |
OLD | NEW |