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

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

Issue 1104473002: Make the Location is Allowed link take the Geo Header into account. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to latest Created 5 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: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
index 602d354846b3337e0a0b656795c92353296677fe..a6de165e6291016a767fa0c66a6fa24674c570e4 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
@@ -182,7 +182,7 @@ public class NotificationUIManager {
Bundle fragmentArguments;
if (launchSingleWebsitePreferences) {
// All preferences for a specific origin.
- fragmentArguments = SingleWebsitePreferences.createFragmentArgsForSite(origin);
+ fragmentArguments = SingleWebsitePreferences.createFragmentArgsForSite(origin, "");
} else {
// Notification preferences for all origins.
fragmentArguments = new Bundle();
@@ -328,7 +328,7 @@ public class NotificationUIManager {
mAppContext, SingleWebsitePreferences.class.getName());
settingsIntent.setData(intentData);
settingsIntent.putExtra(Preferences.EXTRA_SHOW_FRAGMENT_ARGUMENTS,
- SingleWebsitePreferences.createFragmentArgsForSite(origin));
+ SingleWebsitePreferences.createFragmentArgsForSite(origin, ""));
PendingIntent pendingSettingsIntent = PendingIntent.getActivity(mAppContext,
PENDING_INTENT_REQUEST_CODE, settingsIntent, PendingIntent.FLAG_UPDATE_CURRENT);

Powered by Google App Engine
This is Rietveld 408576698