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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/SearchGeolocationDisclosureTabHelper.java

Issue 2615563004: Revert of Add some integration tests for the search geolocation disclosure. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java_sources.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/SearchGeolocationDisclosureTabHelper.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/SearchGeolocationDisclosureTabHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/SearchGeolocationDisclosureTabHelper.java
deleted file mode 100644
index 316dd59aaa327e3bd25e39de1673a3d321f07d54..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/org/chromium/chrome/browser/SearchGeolocationDisclosureTabHelper.java
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.chrome.browser;
-
-import org.chromium.base.VisibleForTesting;
-
-/**
- * Helper that shows the search geolocation disclosure when required. This class currently is only
- * used to set static test variables in the native code.
- */
-public class SearchGeolocationDisclosureTabHelper {
- @VisibleForTesting
- public static void setIgnoreUrlChecksForTesting() {
- nativeSetIgnoreUrlChecksForTesting();
- }
-
- @VisibleForTesting
- public static void setDayOffsetForTesting(int days) {
- nativeSetDayOffsetForTesting(days);
- }
-
- private static native void nativeSetIgnoreUrlChecksForTesting();
- private static native void nativeSetDayOffsetForTesting(int days);
-}
« no previous file with comments | « no previous file | chrome/android/java_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698