diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 17:34:42 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 17:34:42 +0000 |
commit | 9e8c2cc2dc661ca3b5275a2093281cf14ffaae2e (patch) | |
tree | 3df5d13093bcc4c138e6093b782955eb4aa705f0 /chrome/browser/instant | |
parent | 9c2addffef686c093b78e50770efae3c199ea3ff (diff) | |
download | chromium_src-9e8c2cc2dc661ca3b5275a2093281cf14ffaae2e.zip chromium_src-9e8c2cc2dc661ca3b5275a2093281cf14ffaae2e.tar.gz chromium_src-9e8c2cc2dc661ca3b5275a2093281cf14ffaae2e.tar.bz2 |
Makes it so we show the instant confirm dialog until the user clicks
ok.
BUG=59148
TEST=none
Review URL: http://codereview.chromium.org/3803007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant')
-rw-r--r-- | chrome/browser/instant/instant_confirm_dialog.cc | 1 | ||||
-rw-r--r-- | chrome/browser/instant/instant_confirm_dialog.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/instant/instant_confirm_dialog.cc b/chrome/browser/instant/instant_confirm_dialog.cc index 680cdf3..ad7a396 100644 --- a/chrome/browser/instant/instant_confirm_dialog.cc +++ b/chrome/browser/instant/instant_confirm_dialog.cc @@ -24,7 +24,6 @@ void ShowInstantConfirmDialogIfNecessary(gfx::NativeWindow parent, return; } - prefs->SetBoolean(prefs::kInstantConfirmDialogShown, true); ShowInstantConfirmDialog(parent, profile); } diff --git a/chrome/browser/instant/instant_confirm_dialog.h b/chrome/browser/instant/instant_confirm_dialog.h index 54daaf5..434d65a 100644 --- a/chrome/browser/instant/instant_confirm_dialog.h +++ b/chrome/browser/instant/instant_confirm_dialog.h @@ -22,7 +22,9 @@ void ShowInstantConfirmDialogIfNecessary(gfx::NativeWindow parent, Profile* profile); // Shows the platform specific dialog to confirm if the user really wants to -// enable opt-in. +// enable instant. If the user accepts the dialog implementations must set +// both |prefs::kInstantEnabled| and |prefs::kInstantConfirmDialogShown| to +// true. void ShowInstantConfirmDialog(gfx::NativeWindow parent, Profile* profile); |