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/sync/test/integration/bookmarks_helper.h" | 5 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/synchronization/waitable_event.h" | 19 #include "base/synchronization/waitable_event.h" |
20 #include "base/task/cancelable_task_tracker.h" | 20 #include "base/task/cancelable_task_tracker.h" |
21 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 21 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
22 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" | 22 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" |
23 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" | 23 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" |
24 #include "chrome/browser/favicon/favicon_service.h" | |
25 #include "chrome/browser/favicon/favicon_service_factory.h" | 24 #include "chrome/browser/favicon/favicon_service_factory.h" |
26 #include "chrome/browser/history/history_service_factory.h" | 25 #include "chrome/browser/history/history_service_factory.h" |
27 #include "chrome/browser/profiles/profile.h" | 26 #include "chrome/browser/profiles/profile.h" |
28 #include "chrome/browser/sync/glue/bookmark_change_processor.h" | 27 #include "chrome/browser/sync/glue/bookmark_change_processor.h" |
29 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" | 28 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" |
30 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" | 29 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" |
31 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 30 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
32 #include "chrome/browser/sync/test/integration/sync_test.h" | 31 #include "chrome/browser/sync/test/integration/sync_test.h" |
33 #include "chrome/common/chrome_paths.h" | 32 #include "chrome/common/chrome_paths.h" |
34 #include "components/bookmarks/browser/bookmark_client.h" | 33 #include "components/bookmarks/browser/bookmark_client.h" |
35 #include "components/bookmarks/browser/bookmark_model.h" | 34 #include "components/bookmarks/browser/bookmark_model.h" |
36 #include "components/bookmarks/browser/bookmark_model_observer.h" | 35 #include "components/bookmarks/browser/bookmark_model_observer.h" |
37 #include "components/bookmarks/browser/bookmark_utils.h" | 36 #include "components/bookmarks/browser/bookmark_utils.h" |
| 37 #include "components/favicon/core/browser/favicon_service.h" |
38 #include "components/favicon_base/favicon_util.h" | 38 #include "components/favicon_base/favicon_util.h" |
39 #include "components/history/core/browser/history_db_task.h" | 39 #include "components/history/core/browser/history_db_task.h" |
40 #include "components/history/core/browser/history_service.h" | 40 #include "components/history/core/browser/history_service.h" |
41 #include "components/history/core/browser/history_types.h" | 41 #include "components/history/core/browser/history_types.h" |
42 #include "content/public/test/test_utils.h" | 42 #include "content/public/test/test_utils.h" |
43 #include "testing/gtest/include/gtest/gtest.h" | 43 #include "testing/gtest/include/gtest/gtest.h" |
44 #include "third_party/skia/include/core/SkBitmap.h" | 44 #include "third_party/skia/include/core/SkBitmap.h" |
45 #include "ui/base/models/tree_node_iterator.h" | 45 #include "ui/base/models/tree_node_iterator.h" |
46 #include "ui/gfx/image/image_skia.h" | 46 #include "ui/gfx/image/image_skia.h" |
47 | 47 |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 | 855 |
856 std::string IndexedSubfolderName(int i) { | 856 std::string IndexedSubfolderName(int i) { |
857 return base::StringPrintf("Subfolder Name %d", i); | 857 return base::StringPrintf("Subfolder Name %d", i); |
858 } | 858 } |
859 | 859 |
860 std::string IndexedSubsubfolderName(int i) { | 860 std::string IndexedSubsubfolderName(int i) { |
861 return base::StringPrintf("Subsubfolder Name %d", i); | 861 return base::StringPrintf("Subsubfolder Name %d", i); |
862 } | 862 } |
863 | 863 |
864 } // namespace bookmarks_helper | 864 } // namespace bookmarks_helper |
OLD | NEW |