| OLD | NEW |
| 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/bookmarks/bookmark_html_writer.h" | 5 #include "chrome/browser/bookmarks/bookmark_html_writer.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| 8 #include "base/i18n/time_formatting.h" | 11 #include "base/i18n/time_formatting.h" |
| 12 #include "base/macros.h" |
| 9 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
| 10 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 11 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 14 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 18 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 15 #include "chrome/browser/favicon/favicon_service_factory.h" | 19 #include "chrome/browser/favicon/favicon_service_factory.h" |
| 16 #include "chrome/browser/history/history_service_factory.h" | 20 #include "chrome/browser/history/history_service_factory.h" |
| 17 #include "chrome/common/importer/imported_bookmark_entry.h" | 21 #include "chrome/common/importer/imported_bookmark_entry.h" |
| 18 #include "chrome/common/importer/importer_data_types.h" | 22 #include "chrome/common/importer/importer_data_types.h" |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 AssertBookmarkEntryEquals(parsed_bookmarks[6], false, url1, url1_title, t1, | 297 AssertBookmarkEntryEquals(parsed_bookmarks[6], false, url1, url1_title, t1, |
| 294 f3_title, f4_title, base::string16()); | 298 f3_title, f4_title, base::string16()); |
| 295 AssertBookmarkEntryEquals(parsed_bookmarks[7], false, url1, url1_title, t1, | 299 AssertBookmarkEntryEquals(parsed_bookmarks[7], false, url1, url1_title, t1, |
| 296 base::string16(), base::string16(), | 300 base::string16(), base::string16(), |
| 297 base::string16()); | 301 base::string16()); |
| 298 AssertBookmarkEntryEquals(parsed_bookmarks[8], false, unnamed_bookmark_url, | 302 AssertBookmarkEntryEquals(parsed_bookmarks[8], false, unnamed_bookmark_url, |
| 299 unnamed_bookmark_title, t2, | 303 unnamed_bookmark_title, t2, |
| 300 base::string16(), base::string16(), | 304 base::string16(), base::string16(), |
| 301 base::string16()); | 305 base::string16()); |
| 302 } | 306 } |
| OLD | NEW |