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

Side by Side Diff: chrome/browser/sync/profile_sync_factory_impl_unittest.cc

Issue 7616019: Reorganize chrome/test, part #9 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 5 #include <vector>
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "chrome/browser/sync/engine/syncapi.h" 12 #include "chrome/browser/sync/engine/syncapi.h"
13 #include "chrome/browser/sync/glue/data_type_controller.h" 13 #include "chrome/browser/sync/glue/data_type_controller.h"
14 #include "chrome/browser/sync/profile_sync_service.h" 14 #include "chrome/browser/sync/profile_sync_service.h"
15 #include "chrome/browser/sync/profile_sync_factory_impl.h" 15 #include "chrome/browser/sync/profile_sync_factory_impl.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "chrome/test/base/testing_browser_process_test.h"
17 #include "chrome/test/base/testing_profile.h" 18 #include "chrome/test/base/testing_profile.h"
18 #include "chrome/test/testing_browser_process_test.h"
19 #include "content/browser/browser_thread.h" 19 #include "content/browser/browser_thread.h"
20 20
21 using browser_sync::DataTypeController; 21 using browser_sync::DataTypeController;
22 22
23 class ProfileSyncFactoryImplTest : public TestingBrowserProcessTest { 23 class ProfileSyncFactoryImplTest : public TestingBrowserProcessTest {
24 protected: 24 protected:
25 ProfileSyncFactoryImplTest() 25 ProfileSyncFactoryImplTest()
26 : ui_thread_(BrowserThread::UI, &message_loop_) {} 26 : ui_thread_(BrowserThread::UI, &message_loop_) {}
27 27
28 virtual void SetUp() { 28 virtual void SetUp() {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 TEST_F(ProfileSyncFactoryImplTest, CreatePSSDisableAutofillProfile) { 134 TEST_F(ProfileSyncFactoryImplTest, CreatePSSDisableAutofillProfile) {
135 TestSwitchDisablesType(switches::kDisableSyncAutofillProfile, 135 TestSwitchDisablesType(switches::kDisableSyncAutofillProfile,
136 syncable::AUTOFILL_PROFILE); 136 syncable::AUTOFILL_PROFILE);
137 } 137 }
138 138
139 TEST_F(ProfileSyncFactoryImplTest, CreatePSSDisablePasswords) { 139 TEST_F(ProfileSyncFactoryImplTest, CreatePSSDisablePasswords) {
140 TestSwitchDisablesType(switches::kDisableSyncPasswords, 140 TestSwitchDisablesType(switches::kDisableSyncPasswords,
141 syncable::PASSWORDS); 141 syncable::PASSWORDS);
142 } 142 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/theme_util_unittest.cc ('k') | chrome/browser/sync/profile_sync_service_bookmark_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698