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

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

Issue 3035: Move importer files into an importer subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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
Property Changes:
Added: svn:mergeinfo
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/firefox2_importer.h" 5 #include "chrome/browser/importer/firefox2_importer.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/registry.h" 9 #include "base/registry.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/firefox_importer_utils.h" 12 #include "chrome/browser/importer/firefox_importer_utils.h"
13 #include "chrome/browser/mork_reader.h" 13 #include "chrome/browser/importer/mork_reader.h"
14 #include "chrome/browser/template_url.h" 14 #include "chrome/browser/template_url.h"
15 #include "chrome/browser/template_url_parser.h" 15 #include "chrome/browser/template_url_parser.h"
16 #include "chrome/common/l10n_util.h" 16 #include "chrome/common/l10n_util.h"
17 #include "chrome/common/time_format.h" 17 #include "chrome/common/time_format.h"
18 #include "generated_resources.h" 18 #include "generated_resources.h"
19 #include "net/base/data_url.h" 19 #include "net/base/data_url.h"
20 20
21 // Firefox2Importer. 21 // Firefox2Importer.
22 22
23 Firefox2Importer::Firefox2Importer() { 23 Firefox2Importer::Firefox2Importer() {
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 // We need to make up a URL for the favicon. We use a version of the page's 506 // We need to make up a URL for the favicon. We use a version of the page's
507 // URL so that we can be sure it will not collide. 507 // URL so that we can be sure it will not collide.
508 usage.favicon_url = GURL(std::string("made-up-favicon:") + link_url.spec()); 508 usage.favicon_url = GURL(std::string("made-up-favicon:") + link_url.spec());
509 509
510 // We only have one URL per favicon for Firefox 2 bookmarks. 510 // We only have one URL per favicon for Firefox 2 bookmarks.
511 usage.urls.insert(link_url); 511 usage.urls.insert(link_url);
512 512
513 favicons->push_back(usage); 513 favicons->push_back(usage);
514 } 514 }
515 515
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox2_importer.h ('k') | chrome/browser/importer/firefox3_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698