Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/GoogleLocationSettingsHelper.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/GoogleLocationSettingsHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/GoogleLocationSettingsHelper.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b60b10ab90e8133dbfbc42e036e82c834c71bf92 |
| --- /dev/null |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/GoogleLocationSettingsHelper.java |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2012 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.CalledByNative; |
| + |
| +/** |
| + * Helper interface to read the Google Apps location setting to update the infobar button label. |
| + * Also, starts the Android Google Apps location settings activity upon request. |
| + */ |
| + |
|
bulach
2012/10/23 13:06:26
nit: remove \n
Ramya
2012/10/23 21:57:14
Done.
|
| +public interface GoogleLocationSettingsHelper { |
| + |
| + @CalledByNative |
| + public String getInfoBarAllowTextFromLocationSetting(); |
| + |
| + @CalledByNative |
| + public boolean isGoogleAppsLocationSettingEnabled(); |
| + |
| + @CalledByNative |
| + public void startGoogleLocationSettingsActivity(); |
| +} |