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

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

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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/firefox3_importer.h" 5 #include "chrome/browser/importer/firefox3_importer.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "chrome/browser/bookmarks/bookmark_html_reader.h" 15 #include "chrome/browser/bookmarks/bookmark_html_reader.h"
16 #include "chrome/browser/bookmarks/imported_bookmark_entry.h" 16 #include "chrome/browser/bookmarks/imported_bookmark_entry.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/favicon/favicon_util.h" 18 #include "chrome/browser/favicon/favicon_util.h"
19 #include "chrome/browser/favicon/imported_favicon_usage.h" 19 #include "chrome/browser/favicon/imported_favicon_usage.h"
20 #include "chrome/browser/importer/firefox_importer_utils.h" 20 #include "chrome/browser/importer/firefox_importer_utils.h"
21 #include "chrome/browser/importer/importer_bridge.h" 21 #include "chrome/browser/importer/importer_bridge.h"
22 #include "chrome/browser/importer/nss_decryptor.h" 22 #include "chrome/browser/importer/nss_decryptor.h"
23 #include "chrome/browser/search_engines/template_url.h" 23 #include "chrome/browser/search_engines/template_url.h"
24 #include "chrome/common/time_format.h" 24 #include "chrome/common/time_format.h"
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 596
597 if (!FaviconUtil::ReencodeFavicon(&data[0], data.size(), &usage.png_data)) 597 if (!FaviconUtil::ReencodeFavicon(&data[0], data.size(), &usage.png_data))
598 continue; // Unable to decode. 598 continue; // Unable to decode.
599 599
600 usage.urls = i->second; 600 usage.urls = i->second;
601 favicons->push_back(usage); 601 favicons->push_back(usage);
602 } 602 }
603 s.Reset(true); 603 s.Reset(true);
604 } 604 }
605 } 605 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/external_process_importer_bridge.cc ('k') | chrome/browser/importer/firefox_importer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698