| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/views/importing_progress_view.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "grit/chromium_strings.h" | 9 #include "grit/chromium_strings.h" |
| 10 #include "grit/generated_resources.h" | 10 #include "grit/generated_resources.h" |
| 11 #include "grit/locale_settings.h" | 11 #include "grit/locale_settings.h" |
| 12 #include "views/grid_layout.h" | 12 #include "views/grid_layout.h" |
| 13 #include "views/controls/label.h" | 13 #include "views/controls/label.h" |
| 14 #include "views/controls/throbber.h" | 14 #include "views/controls/throbber.h" |
| 15 #include "views/standard_layout.h" | 15 #include "views/standard_layout.h" |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 views::Window* window = | 307 views::Window* window = |
| 308 views::Window::CreateChromeWindow(parent_window, gfx::Rect(), v); | 308 views::Window::CreateChromeWindow(parent_window, gfx::Rect(), v); |
| 309 | 309 |
| 310 if (!coordinator->is_headless() && !first_run) | 310 if (!coordinator->is_headless() && !first_run) |
| 311 window->Show(); | 311 window->Show(); |
| 312 | 312 |
| 313 coordinator->StartImportSettings(source_profile, target_profile, items, | 313 coordinator->StartImportSettings(source_profile, target_profile, items, |
| 314 new ProfileWriter(target_profile), | 314 new ProfileWriter(target_profile), |
| 315 first_run); | 315 first_run); |
| 316 } | 316 } |
| OLD | NEW |