Chromium Code Reviews| Index: chrome/browser/ui/intents/web_intent_picker_controller.cc |
| diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
| index 2f372045f44e1782c09d7b125922b10dee17f34a..9cad891ac11b9aa0cf2af9070884563423b4ed02 100644 |
| --- a/chrome/browser/ui/intents/web_intent_picker_controller.cc |
| +++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
| @@ -123,6 +123,11 @@ void WebIntentPickerController::ShowDialog(Browser* browser, |
| if (picker_shown_) |
| return; |
| + // TODO(binji): Remove this check when we decide how to allow intent |
| + // invocation in incognito mode. |
| + if (wrapper_->profile()->IsOffTheRecord()) |
|
groby-ooo-7-16
2012/03/22 00:20:24
We probably need to do more than just remove that
binji
2012/03/22 00:38:40
Done.
|
| + return; |
| + |
| picker_model_->Clear(); |
| // If picker is non-NULL, it was set by a test. |