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 "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/i18n/time_formatting.h" | 8 #include "base/i18n/time_formatting.h" |
9 #include "base/path_service.h" | |
10 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
11 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
12 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
14 #include "base/time/time.h" | 13 #include "base/time/time.h" |
15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 14 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
16 #include "chrome/browser/favicon/favicon_service.h" | 15 #include "chrome/browser/favicon/favicon_service.h" |
17 #include "chrome/browser/favicon/favicon_service_factory.h" | 16 #include "chrome/browser/favicon/favicon_service_factory.h" |
18 #include "chrome/browser/history/history_service.h" | 17 #include "chrome/browser/history/history_service.h" |
19 #include "chrome/browser/history/history_service_factory.h" | 18 #include "chrome/browser/history/history_service_factory.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 AssertBookmarkEntryEquals(parsed_bookmarks[6], false, url1, url1_title, t1, | 282 AssertBookmarkEntryEquals(parsed_bookmarks[6], false, url1, url1_title, t1, |
284 f3_title, f4_title, base::string16()); | 283 f3_title, f4_title, base::string16()); |
285 AssertBookmarkEntryEquals(parsed_bookmarks[7], false, url1, url1_title, t1, | 284 AssertBookmarkEntryEquals(parsed_bookmarks[7], false, url1, url1_title, t1, |
286 base::string16(), base::string16(), | 285 base::string16(), base::string16(), |
287 base::string16()); | 286 base::string16()); |
288 AssertBookmarkEntryEquals(parsed_bookmarks[8], false, unnamed_bookmark_url, | 287 AssertBookmarkEntryEquals(parsed_bookmarks[8], false, unnamed_bookmark_url, |
289 unnamed_bookmark_title, t2, | 288 unnamed_bookmark_title, t2, |
290 base::string16(), base::string16(), | 289 base::string16(), base::string16(), |
291 base::string16()); | 290 base::string16()); |
292 } | 291 } |
OLD | NEW |