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

Unified Diff: chrome/browser/extensions/navigation_observer.h

Issue 2621953003: [Extensions] Remove the prompt to re-enable app when visiting its site (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
Index: chrome/browser/extensions/navigation_observer.h
diff --git a/chrome/browser/extensions/navigation_observer.h b/chrome/browser/extensions/navigation_observer.h
index 44b2a2f5c1e0502aa55c706e68080b7db967007e..e8623bfea8a2478a9693d1ff98e2ab7d4d4506ce 100644
--- a/chrome/browser/extensions/navigation_observer.h
+++ b/chrome/browser/extensions/navigation_observer.h
@@ -40,6 +40,10 @@ class NavigationObserver : public content::NotificationObserver,
const content::NotificationSource& source,
const content::NotificationDetails& details) override;
+ // Allows showing the prompt for the same extensions multiple times in a
+ // session.
+ static void SetAllowedRepeatedPromptingForTesting(bool allowed);
+
private:
// Registers for the NOTIFICATION_NAV_ENTRY_COMMITTED notification.
void RegisterForNotifications();
« no previous file with comments | « no previous file | chrome/browser/extensions/navigation_observer.cc » ('j') | chrome/browser/extensions/navigation_observer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698