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

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

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/browser/importer/ie_importer.cc ('k') | chrome/browser/importer/toolbar_importer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/importer.h" 5 #include "chrome/browser/importer/importer.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 9
10 #include "app/l10n_util.h"
10 #include "base/file_util.h" 11 #include "base/file_util.h"
11 #include "base/gfx/png_encoder.h" 12 #include "base/gfx/png_encoder.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "chrome/browser/bookmarks/bookmark_model.h" 14 #include "chrome/browser/bookmarks/bookmark_model.h"
14 #include "chrome/browser/browser.h" 15 #include "chrome/browser/browser.h"
15 #include "chrome/browser/browser_list.h" 16 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/first_run.h" 18 #include "chrome/browser/first_run.h"
18 #include "chrome/browser/importer/firefox2_importer.h" 19 #include "chrome/browser/importer/firefox2_importer.h"
19 #include "chrome/browser/importer/firefox3_importer.h" 20 #include "chrome/browser/importer/firefox3_importer.h"
20 #include "chrome/browser/importer/firefox_importer_utils.h" 21 #include "chrome/browser/importer/firefox_importer_utils.h"
21 #include "chrome/browser/importer/firefox_profile_lock.h" 22 #include "chrome/browser/importer/firefox_profile_lock.h"
22 #if defined(OS_WIN) 23 #if defined(OS_WIN)
23 #include "chrome/browser/importer/ie_importer.h" 24 #include "chrome/browser/importer/ie_importer.h"
24 #endif 25 #endif
25 #include "chrome/browser/importer/toolbar_importer.h" 26 #include "chrome/browser/importer/toolbar_importer.h"
26 #include "chrome/browser/search_engines/template_url_model.h" 27 #include "chrome/browser/search_engines/template_url_model.h"
27 #include "chrome/browser/shell_integration.h" 28 #include "chrome/browser/shell_integration.h"
28 #include "chrome/browser/tab_contents/site_instance.h" 29 #include "chrome/browser/tab_contents/site_instance.h"
29 #include "chrome/browser/webdata/web_data_service.h" 30 #include "chrome/browser/webdata/web_data_service.h"
30 #include "chrome/common/gfx/favicon_size.h" 31 #include "chrome/common/gfx/favicon_size.h"
31 #include "chrome/common/l10n_util.h"
32 #include "chrome/common/notification_service.h" 32 #include "chrome/common/notification_service.h"
33 #include "chrome/common/pref_names.h" 33 #include "chrome/common/pref_names.h"
34 #include "chrome/common/pref_service.h" 34 #include "chrome/common/pref_service.h"
35 #include "grit/generated_resources.h" 35 #include "grit/generated_resources.h"
36 #include "skia/ext/image_operations.h" 36 #include "skia/ext/image_operations.h"
37 #include "webkit/glue/image_decoder.h" 37 #include "webkit/glue/image_decoder.h"
38 38
39 // TODO(port): Port these files. 39 // TODO(port): Port these files.
40 #if defined(OS_WIN) 40 #if defined(OS_WIN)
41 #include "chrome/browser/views/importer_lock_view.h" 41 #include "chrome/browser/views/importer_lock_view.h"
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 ProfileInfo* google_toolbar = new ProfileInfo(); 755 ProfileInfo* google_toolbar = new ProfileInfo();
756 google_toolbar->browser_type = GOOGLE_TOOLBAR5; 756 google_toolbar->browser_type = GOOGLE_TOOLBAR5;
757 google_toolbar->description = l10n_util::GetString( 757 google_toolbar->description = l10n_util::GetString(
758 IDS_IMPORT_FROM_GOOGLE_TOOLBAR); 758 IDS_IMPORT_FROM_GOOGLE_TOOLBAR);
759 google_toolbar->source_path.clear(); 759 google_toolbar->source_path.clear();
760 google_toolbar->app_path.clear(); 760 google_toolbar->app_path.clear();
761 google_toolbar->services_supported = FAVORITES; 761 google_toolbar->services_supported = FAVORITES;
762 source_profiles_.push_back(google_toolbar); 762 source_profiles_.push_back(google_toolbar);
763 } 763 }
764 } 764 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/ie_importer.cc ('k') | chrome/browser/importer/toolbar_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698