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

Side by Side Diff: chrome/browser/sync/test/integration/bookmarks_helper.cc

Issue 1419103009: [Sync] Componentize ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@max_bogue_sync_backend_host
Patch Set: Rebase Created 5 years, 1 month 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
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/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/run_loop.h" 15 #include "base/run_loop.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
21 #include "base/task/cancelable_task_tracker.h" 21 #include "base/task/cancelable_task_tracker.h"
22 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 22 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
23 #include "chrome/browser/bookmarks/managed_bookmark_service_factory.h" 23 #include "chrome/browser/bookmarks/managed_bookmark_service_factory.h"
24 #include "chrome/browser/favicon/favicon_service_factory.h" 24 #include "chrome/browser/favicon/favicon_service_factory.h"
25 #include "chrome/browser/history/history_service_factory.h" 25 #include "chrome/browser/history/history_service_factory.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/browser/sync/profile_sync_service.h"
28 #include "chrome/browser/sync/profile_sync_service_factory.h" 27 #include "chrome/browser/sync/profile_sync_service_factory.h"
29 #include "chrome/browser/sync/test/integration/await_match_status_change_checker .h" 28 #include "chrome/browser/sync/test/integration/await_match_status_change_checker .h"
30 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h" 29 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h"
31 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 30 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
32 #include "chrome/browser/sync/test/integration/single_client_status_change_check er.h" 31 #include "chrome/browser/sync/test/integration/single_client_status_change_check er.h"
33 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 32 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
34 #include "chrome/browser/sync/test/integration/sync_test.h" 33 #include "chrome/browser/sync/test/integration/sync_test.h"
35 #include "chrome/common/chrome_paths.h" 34 #include "chrome/common/chrome_paths.h"
36 #include "components/bookmarks/browser/bookmark_client.h" 35 #include "components/bookmarks/browser/bookmark_client.h"
37 #include "components/bookmarks/browser/bookmark_model.h" 36 #include "components/bookmarks/browser/bookmark_model.h"
38 #include "components/bookmarks/browser/bookmark_model_observer.h" 37 #include "components/bookmarks/browser/bookmark_model_observer.h"
39 #include "components/bookmarks/browser/bookmark_utils.h" 38 #include "components/bookmarks/browser/bookmark_utils.h"
40 #include "components/bookmarks/managed/managed_bookmark_service.h" 39 #include "components/bookmarks/managed/managed_bookmark_service.h"
40 #include "components/browser_sync/browser/profile_sync_service.h"
41 #include "components/favicon/core/favicon_service.h" 41 #include "components/favicon/core/favicon_service.h"
42 #include "components/favicon_base/favicon_util.h" 42 #include "components/favicon_base/favicon_util.h"
43 #include "components/history/core/browser/history_db_task.h" 43 #include "components/history/core/browser/history_db_task.h"
44 #include "components/history/core/browser/history_service.h" 44 #include "components/history/core/browser/history_service.h"
45 #include "components/history/core/browser/history_types.h" 45 #include "components/history/core/browser/history_types.h"
46 #include "components/sync_bookmarks/bookmark_change_processor.h" 46 #include "components/sync_bookmarks/bookmark_change_processor.h"
47 #include "content/public/test/test_utils.h" 47 #include "content/public/test/test_utils.h"
48 #include "testing/gtest/include/gtest/gtest.h" 48 #include "testing/gtest/include/gtest/gtest.h"
49 #include "third_party/skia/include/core/SkBitmap.h" 49 #include "third_party/skia/include/core/SkBitmap.h"
50 #include "ui/base/models/tree_node_iterator.h" 50 #include "ui/base/models/tree_node_iterator.h"
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 998
999 std::string IndexedSubfolderName(int i) { 999 std::string IndexedSubfolderName(int i) {
1000 return base::StringPrintf("Subfolder Name %d", i); 1000 return base::StringPrintf("Subfolder Name %d", i);
1001 } 1001 }
1002 1002
1003 std::string IndexedSubsubfolderName(int i) { 1003 std::string IndexedSubsubfolderName(int i) {
1004 return base::StringPrintf("Subsubfolder Name %d", i); 1004 return base::StringPrintf("Subsubfolder Name %d", i);
1005 } 1005 }
1006 1006
1007 } // namespace bookmarks_helper 1007 } // namespace bookmarks_helper
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698