| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 package org.chromium.chrome.browser.sync; | 5 package org.chromium.chrome.browser.sync; |
| 6 | 6 |
| 7 import android.test.suitebuilder.annotation.LargeTest; | 7 import android.test.suitebuilder.annotation.LargeTest; |
| 8 import android.util.Pair; | 8 import android.util.Pair; |
| 9 | 9 |
| 10 import org.chromium.base.test.util.Feature; | 10 import org.chromium.base.test.util.Feature; |
| 11 import org.chromium.chrome.test.util.browser.sync.SyncTestUtil; | 11 import org.chromium.chrome.test.util.browser.sync.SyncTestUtil; |
| 12 import org.chromium.components.sync.ModelType; |
| 13 import org.chromium.components.sync.protocol.AutofillProfileSpecifics; |
| 14 import org.chromium.components.sync.protocol.EntitySpecifics; |
| 12 import org.chromium.content.browser.test.util.Criteria; | 15 import org.chromium.content.browser.test.util.Criteria; |
| 13 import org.chromium.content.browser.test.util.CriteriaHelper; | 16 import org.chromium.content.browser.test.util.CriteriaHelper; |
| 14 import org.chromium.sync.ModelType; | |
| 15 import org.chromium.sync.protocol.AutofillProfileSpecifics; | |
| 16 import org.chromium.sync.protocol.EntitySpecifics; | |
| 17 import org.json.JSONException; | 17 import org.json.JSONException; |
| 18 import org.json.JSONObject; | 18 import org.json.JSONObject; |
| 19 | 19 |
| 20 import java.util.ArrayList; | 20 import java.util.ArrayList; |
| 21 import java.util.List; | 21 import java.util.List; |
| 22 import java.util.concurrent.Callable; | 22 import java.util.concurrent.Callable; |
| 23 | 23 |
| 24 /** | 24 /** |
| 25 * Test suite for the autofill profile sync data type. | 25 * Test suite for the autofill profile sync data type. |
| 26 */ | 26 */ |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 throw new RuntimeException(e); | 204 throw new RuntimeException(e); |
| 205 } | 205 } |
| 206 } | 206 } |
| 207 }, SyncTestUtil.TIMEOUT_MS, SyncTestUtil.INTERVAL_MS); | 207 }, SyncTestUtil.TIMEOUT_MS, SyncTestUtil.INTERVAL_MS); |
| 208 } | 208 } |
| 209 | 209 |
| 210 private interface AutofillCriteria { | 210 private interface AutofillCriteria { |
| 211 boolean isSatisfied(List<Autofill> autofills); | 211 boolean isSatisfied(List<Autofill> autofills); |
| 212 } | 212 } |
| 213 } | 213 } |
| OLD | NEW |