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

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

Issue 18263: Move search engines files into subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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/firefox2_importer.cc ('k') | chrome/browser/importer/ie_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/firefox_importer_utils.h" 5 #include "chrome/browser/importer/firefox_importer_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <shlobj.h> 8 #include <shlobj.h>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/registry.h" 12 #include "base/registry.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/sys_string_conversions.h" 14 #include "base/sys_string_conversions.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "chrome/browser/template_url.h" 16 #include "chrome/browser/search_engines/template_url.h"
17 #include "chrome/browser/template_url_model.h" 17 #include "chrome/browser/search_engines/template_url_model.h"
18 #include "chrome/browser/template_url_parser.h" 18 #include "chrome/browser/search_engines/template_url_parser.h"
19 #include "chrome/common/win_util.h" 19 #include "chrome/common/win_util.h"
20 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
21 #include "net/base/base64.h" 21 #include "net/base/base64.h"
22 22
23 namespace { 23 namespace {
24 24
25 // NOTE: Keep these in order since we need test all those paths according 25 // NOTE: Keep these in order since we need test all those paths according
26 // to priority. For example. One machine has multiple users. One non-admin 26 // to priority. For example. One machine has multiple users. One non-admin
27 // user installs Firefox 2, which causes there is a Firefox2 entry under HKCU. 27 // user installs Firefox 2, which causes there is a Firefox2 entry under HKCU.
28 // One admin user installs Firefox 3, which causes there is a Firefox 3 entry 28 // One admin user installs Firefox 3, which causes there is a Firefox 3 entry
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 // Version 3 has an extra line for further use. 733 // Version 3 has an extra line for further use.
734 if (version == 3) { 734 if (version == 3) {
735 ++begin; 735 ++begin;
736 } 736 }
737 737
738 forms->push_back(form); 738 forms->push_back(form);
739 } 739 }
740 } 740 }
741 } 741 }
742 742
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox2_importer.cc ('k') | chrome/browser/importer/ie_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698