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

Unified Diff: extensions/browser/extension_prefs.h

Issue 246653003: Settings Overides -- warn user when extensions override their NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 6 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
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 90a9b835d5d3fda032741b75b2df1d4290a2badd..d2cc9ebc4277849faf60e50a7cc38c3cd22e2e91 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -323,6 +323,12 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
void SetSettingsApiBubbleBeenAcknowledged(const std::string& extension_id,
bool value);
+ // Whether the user has been notified about extension with |extension_id|
+ // overriding the new tab page.
+ bool HasNtpOverriddenBubbleBeenAcknowledged(const std::string& extension_id);
+ void SetNtpOverriddenBubbleBeenAcknowledged(const std::string& extension_id,
+ bool value);
+
// Returns true if the extension notification code has already run for the
// first time for this profile. Currently we use this flag to mean that any
// extensions that would trigger notifications should get silently
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698