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

Side by Side Diff: components/sync/driver/non_ui_data_type_controller_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/sync/driver/non_ui_data_type_controller.h" 5 #include "components/sync/driver/non_ui_data_type_controller.h"
6 6
7 #include <memory>
8 #include <utility> 7 #include <utility>
9 #include <vector> 8 #include <vector>
10 9
11 #include "base/bind.h" 10 #include "base/bind.h"
12 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
13 #include "base/callback.h" 12 #include "base/callback.h"
14 #include "base/compiler_specific.h"
15 #include "base/location.h" 13 #include "base/location.h"
16 #include "base/macros.h" 14 #include "base/macros.h"
17 #include "base/run_loop.h" 15 #include "base/run_loop.h"
18 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
19 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
20 #include "base/test/test_timeouts.h" 18 #include "base/test/test_timeouts.h"
21 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
22 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
23 #include "base/tracked_objects.h" 21 #include "base/tracked_objects.h"
24 #include "components/sync/api/fake_syncable_service.h" 22 #include "components/sync/api/fake_syncable_service.h"
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 backend_thread_.task_runner()->PostTask( 469 backend_thread_.task_runner()->PostTask(
472 FROM_HERE, 470 FROM_HERE,
473 base::Bind(&DataTypeErrorHandler::OnUnrecoverableError, 471 base::Bind(&DataTypeErrorHandler::OnUnrecoverableError,
474 base::Passed(non_ui_dtc_->CreateErrorHandler()), error)); 472 base::Passed(non_ui_dtc_->CreateErrorHandler()), error));
475 WaitForDTC(); 473 WaitForDTC();
476 } 474 }
477 475
478 } // namespace 476 } // namespace
479 477
480 } // namespace syncer 478 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698