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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: 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
« no previous file with comments | « chrome/android/javatests/DEPS ('k') | chrome/browser/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; 5 package org.chromium.chrome.browser;
6 6
7 import android.os.Environment; 7 import android.os.Environment;
8 import android.test.suitebuilder.annotation.MediumTest; 8 import android.test.suitebuilder.annotation.MediumTest;
9 import android.test.suitebuilder.annotation.Smoke; 9 import android.test.suitebuilder.annotation.Smoke;
10 10
11 import org.chromium.base.test.util.Feature; 11 import org.chromium.base.test.util.Feature;
12 import org.chromium.chrome.browser.infobar.InfoBarContainer; 12 import org.chromium.chrome.browser.infobar.InfoBarContainer;
13 import org.chromium.chrome.browser.tab.EmptyTabObserver; 13 import org.chromium.chrome.browser.tab.EmptyTabObserver;
14 import org.chromium.chrome.browser.tab.Tab; 14 import org.chromium.chrome.browser.tab.Tab;
15 import org.chromium.chrome.test.ChromeActivityTestCaseBase; 15 import org.chromium.chrome.test.ChromeActivityTestCaseBase;
16 import org.chromium.chrome.test.util.InfoBarTestAnimationListener; 16 import org.chromium.chrome.test.util.InfoBarTestAnimationListener;
17 import org.chromium.chrome.test.util.InfoBarUtil; 17 import org.chromium.chrome.test.util.InfoBarUtil;
18 import org.chromium.chrome.test.util.browser.LocationSettingsTestUtil; 18 import org.chromium.chrome.test.util.browser.LocationSettingsTestUtil;
19 import org.chromium.content.browser.LocationProviderFactory;
19 import org.chromium.content.browser.test.util.CallbackHelper; 20 import org.chromium.content.browser.test.util.CallbackHelper;
20 import org.chromium.device.geolocation.LocationProviderFactory; 21 import org.chromium.content.browser.test.util.MockLocationProvider;
21 import org.chromium.device.geolocation.MockLocationProvider;
22 import org.chromium.net.test.EmbeddedTestServer; 22 import org.chromium.net.test.EmbeddedTestServer;
23 23
24 /** 24 /**
25 * Test suite for Geo-Location functionality. 25 * Test suite for Geo-Location functionality.
26 * 26 *
27 * These tests rely on the device being specially setup (which the bots do autom atically): 27 * These tests rely on the device being specially setup (which the bots do autom atically):
28 * - Global location is enabled. 28 * - Global location is enabled.
29 * - Google location is enabled. 29 * - Google location is enabled.
30 */ 30 */
31 public class GeolocationTest extends ChromeActivityTestCaseBase<ChromeActivity> { 31 public class GeolocationTest extends ChromeActivityTestCaseBase<ChromeActivity> {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 updateWaiter.waitForNumUpdates(2); 133 updateWaiter.waitForNumUpdates(2);
134 134
135 tab.removeObserver(updateWaiter); 135 tab.removeObserver(updateWaiter);
136 } 136 }
137 137
138 @Override 138 @Override
139 public void startMainActivity() throws InterruptedException { 139 public void startMainActivity() throws InterruptedException {
140 startMainActivityOnBlankPage(); 140 startMainActivityOnBlankPage();
141 } 141 }
142 } 142 }
OLDNEW
« no previous file with comments | « chrome/android/javatests/DEPS ('k') | chrome/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698