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

Unified Diff: components/location/android/java/src/org/chromium/components/location/LocationUtils.java

Issue 2792583002: 📱 Simplify naming of generated java enums IntDefs (Closed)
Patch Set: rebase Created 3 years, 8 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
Index: components/location/android/java/src/org/chromium/components/location/LocationUtils.java
diff --git a/components/location/android/java/src/org/chromium/components/location/LocationUtils.java b/components/location/android/java/src/org/chromium/components/location/LocationUtils.java
index 22391a73d1dc38dfa0991c8a5c80fe8a489d2b4c..c0de175a1abac352925a02ee7afcfe34b02ffe1a 100644
--- a/components/location/android/java/src/org/chromium/components/location/LocationUtils.java
+++ b/components/location/android/java/src/org/chromium/components/location/LocationUtils.java
@@ -19,8 +19,6 @@
import org.chromium.base.ThreadUtils;
import org.chromium.base.VisibleForTesting;
import org.chromium.base.annotations.SuppressFBWarnings;
-import org.chromium.components.location.LocationSettingsDialogContext.LocationSettingsDialogContextEnum;
-import org.chromium.components.location.LocationSettingsDialogOutcome.LocationSettingsDialogOutcomeEnum;
import org.chromium.ui.base.WindowAndroid;
/**
@@ -107,8 +105,8 @@ public boolean canPromptToEnableSystemLocationSetting() {
* dialog, which in practice happens very infrequently since the dialog is modal.
*/
public void promptToEnableSystemLocationSetting(
- @LocationSettingsDialogContextEnum int promptContext, WindowAndroid window,
- @LocationSettingsDialogOutcomeEnum Callback<Integer> callback) {
+ @LocationSettingsDialogContext int promptContext, WindowAndroid window,
+ @LocationSettingsDialogOutcome Callback<Integer> callback) {
callback.onResult(LocationSettingsDialogOutcome.NO_PROMPT);
}

Powered by Google App Engine
This is Rietveld 408576698