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

Unified Diff: trunk/src/extensions/browser/extension_prefs.cc

Issue 312403003: Revert 275229 "Add an extension override bubble and warning box ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/extensions/browser/extension_prefs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/extensions/browser/extension_prefs.cc
===================================================================
--- trunk/src/extensions/browser/extension_prefs.cc (revision 275254)
+++ trunk/src/extensions/browser/extension_prefs.cc (working copy)
@@ -78,7 +78,6 @@
const char kPrefWipeoutAcknowledged[] = "ack_wiped";
const char kPrefSettingsBubbleAcknowledged[] = "ack_settings_bubble";
const char kPrefNtpBubbleAcknowledged[] = "ack_ntp_bubble";
-const char kPrefProxyBubbleAcknowledged[] = "ack_proxy_bubble";
// Indicates whether the external extension was installed during the first
// run of this profile.
@@ -756,19 +755,6 @@
value ? base::Value::CreateBooleanValue(value) : NULL);
}
-bool ExtensionPrefs::HasProxyOverriddenBubbleBeenAcknowledged(
- const std::string& extension_id) {
- return ReadPrefAsBooleanAndReturn(extension_id, kPrefProxyBubbleAcknowledged);
-}
-
-void ExtensionPrefs::SetProxyOverriddenBubbleBeenAcknowledged(
- const std::string& extension_id,
- bool value) {
- UpdateExtensionPref(extension_id,
- kPrefProxyBubbleAcknowledged,
- value ? base::Value::CreateBooleanValue(value) : NULL);
-}
-
bool ExtensionPrefs::SetAlertSystemFirstRun() {
if (prefs_->GetBoolean(pref_names::kAlertsInitialized)) {
return true;
« no previous file with comments | « trunk/src/extensions/browser/extension_prefs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698