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

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

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/shared_change_processor.h" 5 #include "chrome/browser/sync/glue/shared_change_processor.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "chrome/browser/sync/glue/data_type_error_handler_mock.h" 13 #include "chrome/browser/sync/glue/data_type_error_handler_mock.h"
14 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" 14 #include "chrome/browser/sync/profile_sync_components_factory_impl.h"
15 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" 15 #include "chrome/browser/sync/profile_sync_components_factory_mock.h"
16 #include "chrome/browser/sync/profile_sync_service_mock.h" 16 #include "chrome/browser/sync/profile_sync_service_mock.h"
17 #include "content/test/test_browser_thread.h" 17 #include "content/public/test/test_browser_thread.h"
18 #include "sync/api/fake_syncable_service.h" 18 #include "sync/api/fake_syncable_service.h"
19 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 namespace browser_sync { 22 namespace browser_sync {
23 23
24 namespace { 24 namespace {
25 25
26 using content::BrowserThread; 26 using content::BrowserThread;
27 using ::testing::NiceMock; 27 using ::testing::NiceMock;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // Simply connect the shared change processor. It should succeed, and 126 // Simply connect the shared change processor. It should succeed, and
127 // nothing further should happen. 127 // nothing further should happen.
128 TEST_F(SyncSharedChangeProcessorTest, Basic) { 128 TEST_F(SyncSharedChangeProcessorTest, Basic) {
129 Connect(); 129 Connect();
130 } 130 }
131 131
132 } // namespace 132 } // namespace
133 133
134 } // namespace browser_sync 134 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator_unittest.cc ('k') | chrome/browser/sync/glue/sync_backend_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698