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

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

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 "base/location.h" 5 #include "base/location.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/synchronization/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" 13 #include "chrome/browser/sync/test/integration/bookmarks_helper.h"
14 #include "chrome/browser/sync/test/integration/single_client_status_change_check er.h" 14 #include "chrome/browser/sync/test/integration/single_client_status_change_check er.h"
15 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" 15 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
16 #include "chrome/browser/sync/test/integration/sync_test.h" 16 #include "chrome/browser/sync/test/integration/sync_test.h"
17 #include "components/browser_sync/browser/profile_sync_service.h" 17 #include "components/browser_sync/browser/profile_sync_service.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "sync/syncable/directory.h" 19 #include "sync/syncable/directory.h"
20 #include "sync/test/directory_backing_store_corruption_testing.h" 20 #include "sync/test/directory_backing_store_corruption_testing.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 SyncUnrecoverableErrorChecker checker(sync_service); 130 SyncUnrecoverableErrorChecker checker(sync_service);
131 checker.Wait(); 131 checker.Wait();
132 ASSERT_TRUE(!checker.TimedOut()); 132 ASSERT_TRUE(!checker.TimedOut());
133 ASSERT_TRUE(sync_service->HasUnrecoverableError()); 133 ASSERT_TRUE(sync_service->HasUnrecoverableError());
134 134
135 // Wait until the sync loop has processed any existing tasks and see that the 135 // Wait until the sync loop has processed any existing tasks and see that the
136 // directory no longer exists. 136 // directory no longer exists.
137 ASSERT_TRUE(WaitForExistingTasksOnLoop(sync_loop)); 137 ASSERT_TRUE(WaitForExistingTasksOnLoop(sync_loop));
138 ASSERT_FALSE(base::DirectoryExists(directory_path)); 138 ASSERT_FALSE(base::DirectoryExists(directory_path));
139 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698