| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/importer/external_process_importer_client.h" | 5 #include "chrome/browser/importer/external_process_importer_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "chrome/browser/bookmarks/imported_bookmark_entry.h" | 9 #include "chrome/browser/bookmarks/imported_bookmark_entry.h" |
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 localized_strings.SetString( | 286 localized_strings.SetString( |
| 287 base::IntToString(IDS_BOOKMARK_GROUP_FROM_FIREFOX), | 287 base::IntToString(IDS_BOOKMARK_GROUP_FROM_FIREFOX), |
| 288 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_FIREFOX)); | 288 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_FIREFOX)); |
| 289 localized_strings.SetString( | 289 localized_strings.SetString( |
| 290 base::IntToString(IDS_BOOKMARK_GROUP_FROM_SAFARI), | 290 base::IntToString(IDS_BOOKMARK_GROUP_FROM_SAFARI), |
| 291 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_SAFARI)); | 291 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_SAFARI)); |
| 292 localized_strings.SetString( | 292 localized_strings.SetString( |
| 293 base::IntToString(IDS_IMPORT_FROM_FIREFOX), | 293 base::IntToString(IDS_IMPORT_FROM_FIREFOX), |
| 294 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX)); | 294 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX)); |
| 295 localized_strings.SetString( | 295 localized_strings.SetString( |
| 296 base::IntToString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR), | |
| 297 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_GOOGLE_TOOLBAR)); | |
| 298 localized_strings.SetString( | |
| 299 base::IntToString(IDS_IMPORT_FROM_SAFARI), | 296 base::IntToString(IDS_IMPORT_FROM_SAFARI), |
| 300 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI)); | 297 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI)); |
| 301 localized_strings.SetString( | 298 localized_strings.SetString( |
| 302 base::IntToString(IDS_BOOKMARK_BAR_FOLDER_NAME), | 299 base::IntToString(IDS_BOOKMARK_BAR_FOLDER_NAME), |
| 303 l10n_util::GetStringUTF8(IDS_BOOKMARK_BAR_FOLDER_NAME)); | 300 l10n_util::GetStringUTF8(IDS_BOOKMARK_BAR_FOLDER_NAME)); |
| 304 | 301 |
| 305 utility_process_host_->Send(new ProfileImportProcessMsg_StartImport( | 302 utility_process_host_->Send(new ProfileImportProcessMsg_StartImport( |
| 306 source_profile_, items_, localized_strings)); | 303 source_profile_, items_, localized_strings)); |
| 307 } | 304 } |
| OLD | NEW |