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

Side by Side Diff: components/browser_sync/profile_sync_service_bookmark_unittest.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 years, 12 months 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 // TODO(akalin): This file is basically just a unit test for 5 // TODO(akalin): This file is basically just a unit test for
6 // BookmarkChangeProcessor. Write unit tests for 6 // BookmarkChangeProcessor. Write unit tests for
7 // BookmarkModelAssociator separately. 7 // BookmarkModelAssociator separately.
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 10 matching lines...) Expand all
21 #include "base/location.h" 21 #include "base/location.h"
22 #include "base/macros.h" 22 #include "base/macros.h"
23 #include "base/memory/ptr_util.h" 23 #include "base/memory/ptr_util.h"
24 #include "base/run_loop.h" 24 #include "base/run_loop.h"
25 #include "base/strings/string16.h" 25 #include "base/strings/string16.h"
26 #include "base/strings/string_number_conversions.h" 26 #include "base/strings/string_number_conversions.h"
27 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
28 #include "base/strings/stringprintf.h" 28 #include "base/strings/stringprintf.h"
29 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
30 #include "base/test/test_message_loop.h" 30 #include "base/test/test_message_loop.h"
31 #include "base/threading/thread_task_runner_handle.h"
31 #include "base/time/time.h" 32 #include "base/time/time.h"
32 #include "build/build_config.h" 33 #include "build/build_config.h"
33 #include "components/bookmarks/browser/base_bookmark_model_observer.h" 34 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
34 #include "components/bookmarks/browser/bookmark_model.h" 35 #include "components/bookmarks/browser/bookmark_model.h"
35 #include "components/bookmarks/browser/bookmark_utils.h" 36 #include "components/bookmarks/browser/bookmark_utils.h"
36 #include "components/bookmarks/managed/managed_bookmark_service.h" 37 #include "components/bookmarks/managed/managed_bookmark_service.h"
37 #include "components/bookmarks/test/bookmark_test_helpers.h" 38 #include "components/bookmarks/test/bookmark_test_helpers.h"
38 #include "components/bookmarks/test/test_bookmark_client.h" 39 #include "components/bookmarks/test/test_bookmark_client.h"
39 #include "components/browser_sync/profile_sync_test_util.h" 40 #include "components/browser_sync/profile_sync_test_util.h"
40 #include "components/sync/driver/fake_sync_client.h" 41 #include "components/sync/driver/fake_sync_client.h"
(...skipping 2551 matching lines...) Expand 10 before | Expand all | Expand 10 after
2592 EXPECT_EQ(syncer::kInvalidId, sync_id); 2593 EXPECT_EQ(syncer::kInvalidId, sync_id);
2593 2594
2594 // Verify that Sync ignores deleting this node. 2595 // Verify that Sync ignores deleting this node.
2595 model()->Remove(node); 2596 model()->Remove(node);
2596 EXPECT_EQ(sync_bookmark_count, GetSyncBookmarkCount()); 2597 EXPECT_EQ(sync_bookmark_count, GetSyncBookmarkCount());
2597 } 2598 }
2598 2599
2599 } // namespace 2600 } // namespace
2600 2601
2601 } // namespace browser_sync 2602 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/browser_sync/abstract_profile_sync_service_test.cc ('k') | components/browser_sync/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698