Chromium Code Reviews| Index: chrome/utility/importer/bookmark_html_reader.cc |
| diff --git a/chrome/browser/importer/bookmark_html_reader.cc b/chrome/utility/importer/bookmark_html_reader.cc |
| similarity index 98% |
| rename from chrome/browser/importer/bookmark_html_reader.cc |
| rename to chrome/utility/importer/bookmark_html_reader.cc |
| index e618bad4975ddb5a867ff17a99438a7d4ae3d748..5d34d7b191a817ce63ad6cf27df6cf68d6a56ce1 100644 |
| --- a/chrome/browser/importer/bookmark_html_reader.cc |
| +++ b/chrome/utility/importer/bookmark_html_reader.cc |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "chrome/browser/importer/bookmark_html_reader.h" |
| +#include "chrome/utility/importer/bookmark_html_reader.h" |
| #include "base/callback.h" |
| #include "base/file_util.h" |
| @@ -11,9 +11,9 @@ |
| #include "base/strings/string_split.h" |
| #include "base/strings/string_util.h" |
| #include "base/time/time.h" |
| -#include "chrome/browser/favicon/favicon_util.h" |
| #include "chrome/common/importer/imported_bookmark_entry.h" |
| #include "chrome/common/importer/imported_favicon_usage.h" |
| +#include "chrome/utility/importer/favicon_reencode.h" |
| #include "content/public/common/url_constants.h" |
|
gab
2013/07/10 13:40:44
need DEPS on content/public/common
|
| #include "net/base/data_url.h" |
|
gab
2013/07/10 13:40:44
need DEPS on net/base
|
| #include "net/base/escape.h" |
| @@ -67,7 +67,7 @@ void DataURLToFaviconUsage( |
| return; |
| ImportedFaviconUsage usage; |
| - if (!FaviconUtil::ReencodeFavicon( |
| + if (!importer::ReencodeFavicon( |
| reinterpret_cast<const unsigned char*>(&data[0]), |
| data.size(), &usage.png_data)) |
| return; // Unable to decode. |