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

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

Issue 7744055: bookmarks: Fix an obvious typo in IDS_BOOMARK_*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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) 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/importer/profile_import_process_host.h" 5 #include "chrome/browser/importer/profile_import_process_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 localized_strings.SetString( 47 localized_strings.SetString(
48 base::IntToString(IDS_IMPORT_FROM_FIREFOX), 48 base::IntToString(IDS_IMPORT_FROM_FIREFOX),
49 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX)); 49 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_FIREFOX));
50 localized_strings.SetString( 50 localized_strings.SetString(
51 base::IntToString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR), 51 base::IntToString(IDS_IMPORT_FROM_GOOGLE_TOOLBAR),
52 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_GOOGLE_TOOLBAR)); 52 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_GOOGLE_TOOLBAR));
53 localized_strings.SetString( 53 localized_strings.SetString(
54 base::IntToString(IDS_IMPORT_FROM_SAFARI), 54 base::IntToString(IDS_IMPORT_FROM_SAFARI),
55 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI)); 55 l10n_util::GetStringUTF8(IDS_IMPORT_FROM_SAFARI));
56 localized_strings.SetString( 56 localized_strings.SetString(
57 base::IntToString(IDS_BOOMARK_BAR_FOLDER_NAME), 57 base::IntToString(IDS_BOOKMARK_BAR_FOLDER_NAME),
58 l10n_util::GetStringUTF8(IDS_BOOMARK_BAR_FOLDER_NAME)); 58 l10n_util::GetStringUTF8(IDS_BOOKMARK_BAR_FOLDER_NAME));
59 59
60 Send(new ProfileImportProcessMsg_StartImport(source_profile, items, 60 Send(new ProfileImportProcessMsg_StartImport(source_profile, items,
61 localized_strings)); 61 localized_strings));
62 return true; 62 return true;
63 } 63 }
64 64
65 bool ProfileImportProcessHost::CancelProfileImportProcess() { 65 bool ProfileImportProcessHost::CancelProfileImportProcess() {
66 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 66 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
67 Send(new ProfileImportProcessMsg_CancelImport()); 67 Send(new ProfileImportProcessMsg_CancelImport());
68 return true; 68 return true;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 BrowserThread::PostTask( 140 BrowserThread::PostTask(
141 thread_id_, FROM_HERE, 141 thread_id_, FROM_HERE,
142 NewRunnableMethod(import_process_client_.get(), 142 NewRunnableMethod(import_process_client_.get(),
143 &ProfileImportProcessClient::OnProcessCrashed, 143 &ProfileImportProcessClient::OnProcessCrashed,
144 exit_code)); 144 exit_code));
145 } 145 }
146 146
147 bool ProfileImportProcessHost::CanShutdown() { 147 bool ProfileImportProcessHost::CanShutdown() {
148 return true; 148 return true;
149 } 149 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_bookmark_manager_api.cc ('k') | chrome/browser/importer/safari_importer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698