| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ | 5 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ |
| 6 #define CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ | 6 #define CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "chrome/browser/autofill/autofill_common_test.h" | 14 #include "chrome/browser/autofill/autofill_common_test.h" |
| 15 #include "chrome/browser/autofill/autofill_profile.h" | 15 #include "chrome/browser/autofill/autofill_profile.h" |
| 16 #include "chrome/browser/autofill/autofill_type.h" | 16 #include "chrome/browser/autofill/autofill_type.h" |
| 17 #include "chrome/browser/autofill/field_types.h" | 17 #include "chrome/browser/autofill/field_types.h" |
| 18 #include "chrome/browser/autofill/personal_data_manager.h" | 18 #include "chrome/browser/autofill/personal_data_manager.h" |
| 19 #include "chrome/browser/browser.h" | |
| 20 #include "chrome/browser/prefs/pref_service.h" | 19 #include "chrome/browser/prefs/pref_service.h" |
| 21 #include "chrome/browser/profile.h" | 20 #include "chrome/browser/profile.h" |
| 22 #include "chrome/browser/sync/profile_sync_service.h" | 21 #include "chrome/browser/sync/profile_sync_service.h" |
| 23 #include "chrome/browser/sync/profile_sync_test_util.h" | 22 #include "chrome/browser/sync/profile_sync_test_util.h" |
| 23 #include "chrome/browser/ui/browser.h" |
| 24 #include "chrome/browser/webdata/autofill_entry.h" | 24 #include "chrome/browser/webdata/autofill_entry.h" |
| 25 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
| 26 #include "chrome/test/live_sync/live_sync_test.h" | 26 #include "chrome/test/live_sync/live_sync_test.h" |
| 27 #include "chrome/test/thread_observer_helper.h" | 27 #include "chrome/test/thread_observer_helper.h" |
| 28 | 28 |
| 29 using base::WaitableEvent; | 29 using base::WaitableEvent; |
| 30 using testing::_; | 30 using testing::_; |
| 31 | 31 |
| 32 // Define these << operators so we can use EXPECT_EQ with the | 32 // Define these << operators so we can use EXPECT_EQ with the |
| 33 // AutofillKeys type. | 33 // AutofillKeys type. |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 class TwoClientLiveAutofillSyncTest : public LiveAutofillSyncTest { | 298 class TwoClientLiveAutofillSyncTest : public LiveAutofillSyncTest { |
| 299 public: | 299 public: |
| 300 TwoClientLiveAutofillSyncTest() : LiveAutofillSyncTest(TWO_CLIENT) {} | 300 TwoClientLiveAutofillSyncTest() : LiveAutofillSyncTest(TWO_CLIENT) {} |
| 301 ~TwoClientLiveAutofillSyncTest() {} | 301 ~TwoClientLiveAutofillSyncTest() {} |
| 302 | 302 |
| 303 private: | 303 private: |
| 304 DISALLOW_COPY_AND_ASSIGN(TwoClientLiveAutofillSyncTest); | 304 DISALLOW_COPY_AND_ASSIGN(TwoClientLiveAutofillSyncTest); |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 #endif // CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ | 307 #endif // CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ |
| OLD | NEW |