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

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

Issue 850813002: Upstream Site Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@location_settings_singleton
Patch Set: Created 5 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
Index: chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java
index 1d12a1d979864d906d6412b6c7883008cb9efaad..8e0ddec968ac9e0ece6c9ce3149e0b6347adc1c7 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java
@@ -5,6 +5,7 @@
package org.chromium.chrome.browser;
import org.chromium.base.CalledByNative;
+import org.chromium.chrome.browser.preferences.LocationSettings;
import org.chromium.content.app.ContentApplication;
/**
@@ -31,6 +32,13 @@ public abstract class ChromiumApplication extends ContentApplication {
protected void showPasswordSettings() {}
/**
+ * Returns an instance of LocationSettings to be installed as a singleton.
David Trainor- moved to gerrit 2015/01/14 18:32:31 @return?
newt (away) 2015/01/14 18:44:01 "Returns xyz" is actually preferred by the Google
+ */
+ public LocationSettings createLocationSettings() {
+ return new LocationSettings(this);
+ }
+
+ /**
* Opens the UI to clear browsing data.
* @param tab The tab that triggered the request.
*/

Powered by Google App Engine
This is Rietveld 408576698