OLD | NEW |
1 // Copyright (c) 2011 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/gtk/import_progress_dialog_gtk.h" | 5 #include "chrome/browser/ui/gtk/import_progress_dialog_gtk.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/gtk/gtk_util.h" | 11 #include "chrome/browser/ui/gtk/gtk_util.h" |
12 #include "grit/chromium_strings.h" | 12 #include "grit/chromium_strings.h" |
13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
14 | 14 |
15 using importer::ALL; | 15 using importer::ALL; |
16 using importer::BOOKMARKS_HTML; | 16 using importer::BOOKMARKS_HTML; |
17 using importer::FAVORITES; | 17 using importer::FAVORITES; |
18 using importer::HISTORY; | 18 using importer::HISTORY; |
19 using importer::HOME_PAGE; | 19 using importer::HOME_PAGE; |
20 using importer::ImportItem; | 20 using importer::ImportItem; |
21 using importer::PASSWORDS; | 21 using importer::PASSWORDS; |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 ImporterHost* importer_host, | 220 ImporterHost* importer_host, |
221 const ProfileInfo& browser_profile, | 221 const ProfileInfo& browser_profile, |
222 Profile* profile, | 222 Profile* profile, |
223 ImportObserver* observer, | 223 ImportObserver* observer, |
224 bool first_run) { | 224 bool first_run) { |
225 DCHECK_NE(0, items); | 225 DCHECK_NE(0, items); |
226 ImportProgressDialogGtk::StartImport(parent, items, importer_host, | 226 ImportProgressDialogGtk::StartImport(parent, items, importer_host, |
227 browser_profile, profile, observer, | 227 browser_profile, profile, observer, |
228 first_run); | 228 first_run); |
229 } | 229 } |
OLD | NEW |