Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: chrome/browser/importer/external_process_importer_client.cc

Issue 18120005: Remove Google Toolbar importer (aka google.com/bookmarks importer). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove google toolbar strings Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 localized_strings.SetString( 281 localized_strings.SetString(
282 base::IntToString(IDS_BOOKMARK_GROUP_FROM_FIREFOX), 282 base::IntToString(IDS_BOOKMARK_GROUP_FROM_FIREFOX),
283 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_FIREFOX)); 283 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_FIREFOX));
284 localized_strings.SetString( 284 localized_strings.SetString(
285 base::IntToString(IDS_BOOKMARK_GROUP_FROM_SAFARI), 285 base::IntToString(IDS_BOOKMARK_GROUP_FROM_SAFARI),
286 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_SAFARI)); 286 l10n_util::GetStringUTF8(IDS_BOOKMARK_GROUP_FROM_SAFARI));
287 localized_strings.SetString( 287 localized_strings.SetString(
288 base::IntToString(IDS_IMPORT_FROM_FIREFOX), 288 base::IntToString(IDS_IMPORT_FROM_FIREFOX),
289 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX)); 289 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX));
290 localized_strings.SetString( 290 localized_strings.SetString(
291 base::IntToString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR),
292 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_GOOGLE_TOOLBAR));
293 localized_strings.SetString(
294 base::IntToString(IDS_IMPORT_FROM_SAFARI), 291 base::IntToString(IDS_IMPORT_FROM_SAFARI),
295 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI)); 292 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI));
296 localized_strings.SetString( 293 localized_strings.SetString(
297 base::IntToString(IDS_BOOKMARK_BAR_FOLDER_NAME), 294 base::IntToString(IDS_BOOKMARK_BAR_FOLDER_NAME),
298 l10n_util::GetStringUTF8(IDS_BOOKMARK_BAR_FOLDER_NAME)); 295 l10n_util::GetStringUTF8(IDS_BOOKMARK_BAR_FOLDER_NAME));
299 296
300 utility_process_host_->Send(new ProfileImportProcessMsg_StartImport( 297 utility_process_host_->Send(new ProfileImportProcessMsg_StartImport(
301 source_profile_, items_, localized_strings)); 298 source_profile_, items_, localized_strings));
302 } 299 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698