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/compiler_specific.h" | 13 #include "base/compiler_specific.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/personal_data_manager.h" | 17 #include "chrome/browser/autofill/personal_data_manager.h" |
18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/sync/profile_sync_service.h" | 19 #include "chrome/browser/sync/profile_sync_service.h" |
20 #include "chrome/browser/sync/profile_sync_test_util.h" | 20 #include "chrome/browser/sync/profile_sync_test_util.h" |
21 #include "chrome/browser/webdata/autofill_entry.h" | 21 #include "chrome/browser/webdata/autofill_entry.h" |
22 #include "chrome/browser/webdata/web_database.h" | |
Lei Zhang
2011/02/08 03:56:13
Why do we need this? I don't see WebDatabase used
Elliot Glaysher
2011/02/08 23:02:54
It's used as part of an x->y()->z()->a() chain in
| |
22 #include "chrome/test/live_sync/live_sync_test.h" | 23 #include "chrome/test/live_sync/live_sync_test.h" |
23 #include "chrome/test/thread_observer_helper.h" | 24 #include "chrome/test/thread_observer_helper.h" |
24 | 25 |
25 using base::WaitableEvent; | 26 using base::WaitableEvent; |
26 using testing::_; | 27 using testing::_; |
27 | 28 |
28 namespace { | 29 namespace { |
29 class GetAllAutofillEntries | 30 class GetAllAutofillEntries |
30 : public base::RefCountedThreadSafe<GetAllAutofillEntries> { | 31 : public base::RefCountedThreadSafe<GetAllAutofillEntries> { |
31 public: | 32 public: |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
314 class TwoClientLiveAutofillSyncTest : public LiveAutofillSyncTest { | 315 class TwoClientLiveAutofillSyncTest : public LiveAutofillSyncTest { |
315 public: | 316 public: |
316 TwoClientLiveAutofillSyncTest() : LiveAutofillSyncTest(TWO_CLIENT) {} | 317 TwoClientLiveAutofillSyncTest() : LiveAutofillSyncTest(TWO_CLIENT) {} |
317 ~TwoClientLiveAutofillSyncTest() {} | 318 ~TwoClientLiveAutofillSyncTest() {} |
318 | 319 |
319 private: | 320 private: |
320 DISALLOW_COPY_AND_ASSIGN(TwoClientLiveAutofillSyncTest); | 321 DISALLOW_COPY_AND_ASSIGN(TwoClientLiveAutofillSyncTest); |
321 }; | 322 }; |
322 | 323 |
323 #endif // CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ | 324 #endif // CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_ |
OLD | NEW |