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

Side by Side Diff: chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
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/glue/new_non_frontend_data_type_controller.h" 5 #include "chrome/browser/sync/glue/new_non_frontend_data_type_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
14 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
15 #include "base/tracked_objects.h" 15 #include "base/tracked_objects.h"
16 #include "chrome/browser/sync/api/syncable_service_mock.h" 16 #include "chrome/browser/sync/api/syncable_service_mock.h"
17 #include "chrome/browser/sync/engine/model_safe_worker.h"
18 #include "chrome/browser/sync/glue/data_type_controller_mock.h" 17 #include "chrome/browser/sync/glue/data_type_controller_mock.h"
19 #include "chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h" 18 #include "chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h"
20 #include "chrome/browser/sync/glue/shared_change_processor_mock.h" 19 #include "chrome/browser/sync/glue/shared_change_processor_mock.h"
21 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" 20 #include "chrome/browser/sync/profile_sync_components_factory_mock.h"
22 #include "chrome/browser/sync/profile_sync_service_mock.h" 21 #include "chrome/browser/sync/profile_sync_service_mock.h"
23 #include "chrome/test/base/profile_mock.h" 22 #include "chrome/test/base/profile_mock.h"
24 #include "content/test/test_browser_thread.h" 23 #include "content/test/test_browser_thread.h"
24 #include "sync/engine/model_safe_worker.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace browser_sync { 27 namespace browser_sync {
28 28
29 namespace { 29 namespace {
30 30
31 using base::WaitableEvent; 31 using base::WaitableEvent;
32 using content::BrowserThread; 32 using content::BrowserThread;
33 using syncable::AUTOFILL_PROFILE; 33 using syncable::AUTOFILL_PROFILE;
34 using testing::_; 34 using testing::_;
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 new_non_frontend_dtc_.get(), 492 new_non_frontend_dtc_.get(),
493 FROM_HERE, 493 FROM_HERE,
494 std::string("Test"))); 494 std::string("Test")));
495 WaitForDTC(); 495 WaitForDTC();
496 EXPECT_EQ(DataTypeController::NOT_RUNNING, new_non_frontend_dtc_->state()); 496 EXPECT_EQ(DataTypeController::NOT_RUNNING, new_non_frontend_dtc_->state());
497 } 497 }
498 498
499 } // namespace 499 } // namespace
500 500
501 } // namespace browser_sync 501 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698