summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant/instant_controller.cc
diff options
context:
space:
mode:
authorsreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 01:53:47 +0000
committersreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 01:53:47 +0000
commitb30c207ae85797aa21a72408c10ff841efde4162 (patch)
treeba2323bbe4c49deadb5a61baca5be548d882637e /chrome/browser/instant/instant_controller.cc
parent67dfea903d4daa1287e372f36f70539f39b0350e (diff)
downloadchromium_src-b30c207ae85797aa21a72408c10ff841efde4162.zip
chromium_src-b30c207ae85797aa21a72408c10ff841efde4162.tar.gz
chromium_src-b30c207ae85797aa21a72408c10ff841efde4162.tar.bz2
Remove Instant opt-in promo.
The Instant opt-in promo isn't being used currently, and there are no plans to use it in the future. Deletes all associated code, strings and resources. BUG=116889 TEST=none Review URL: http://codereview.chromium.org/9963039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant/instant_controller.cc')
-rw-r--r--chrome/browser/instant/instant_controller.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index f6018d0..ef6ec95 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -14,7 +14,6 @@
#include "chrome/browser/instant/instant_delegate.h"
#include "chrome/browser/instant/instant_field_trial.h"
#include "chrome/browser/instant/instant_loader.h"
-#include "chrome/browser/instant/promo_counter.h"
#include "chrome/browser/platform_util.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
@@ -69,7 +68,6 @@ void InstantController::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kInstantEnabledOnce,
false,
PrefService::SYNCABLE_PREF);
- PromoCounter::RegisterUserPrefs(prefs, prefs::kInstantPromo);
}
// static
@@ -86,10 +84,6 @@ bool InstantController::IsEnabled(Profile* profile) {
// static
void InstantController::Enable(Profile* profile) {
- PromoCounter* promo_counter = profile->GetInstantPromoCounter();
- if (promo_counter)
- promo_counter->Hide();
-
PrefService* service = profile->GetPrefs();
if (!service)
return;