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

Side by Side Diff: chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/TypedUrlsTest.java

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
OLDNEW
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.ThreadUtils; 10 import org.chromium.base.ThreadUtils;
11 import org.chromium.base.test.util.Feature; 11 import org.chromium.base.test.util.Feature;
12 import org.chromium.chrome.test.util.browser.sync.SyncTestUtil; 12 import org.chromium.chrome.test.util.browser.sync.SyncTestUtil;
13 import org.chromium.components.sync.ModelType;
14 import org.chromium.components.sync.protocol.EntitySpecifics;
15 import org.chromium.components.sync.protocol.SyncEnums;
16 import org.chromium.components.sync.protocol.TypedUrlSpecifics;
13 import org.chromium.content.browser.test.util.Criteria; 17 import org.chromium.content.browser.test.util.Criteria;
14 import org.chromium.content.browser.test.util.CriteriaHelper; 18 import org.chromium.content.browser.test.util.CriteriaHelper;
15 import org.chromium.content_public.browser.LoadUrlParams; 19 import org.chromium.content_public.browser.LoadUrlParams;
16 import org.chromium.sync.ModelType;
17 import org.chromium.sync.protocol.EntitySpecifics;
18 import org.chromium.sync.protocol.SyncEnums;
19 import org.chromium.sync.protocol.TypedUrlSpecifics;
20 import org.chromium.ui.base.PageTransition; 20 import org.chromium.ui.base.PageTransition;
21 import org.json.JSONException; 21 import org.json.JSONException;
22 import org.json.JSONObject; 22 import org.json.JSONObject;
23 23
24 import java.util.ArrayList; 24 import java.util.ArrayList;
25 import java.util.List; 25 import java.util.List;
26 import java.util.concurrent.Callable; 26 import java.util.concurrent.Callable;
27 27
28 /** 28 /**
29 * Test suite for the typed URLs sync data type. 29 * Test suite for the typed URLs sync data type.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 try { 159 try {
160 return mFakeServerHelper.verifyEntityCountByTypeAndName( 160 return mFakeServerHelper.verifyEntityCountByTypeAndName(
161 count, ModelType.TYPED_URLS, name); 161 count, ModelType.TYPED_URLS, name);
162 } catch (Exception e) { 162 } catch (Exception e) {
163 throw new RuntimeException(e); 163 throw new RuntimeException(e);
164 } 164 }
165 } 165 }
166 }, SyncTestUtil.TIMEOUT_MS, SyncTestUtil.INTERVAL_MS); 166 }, SyncTestUtil.TIMEOUT_MS, SyncTestUtil.INTERVAL_MS);
167 } 167 }
168 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698