Chromium Code Reviews| Index: chrome/browser/ui/intents/web_intent_picker_model.h |
| diff --git a/chrome/browser/ui/intents/web_intent_picker_model.h b/chrome/browser/ui/intents/web_intent_picker_model.h |
| index c560cd9b2a0c5c93b3c5a7704bfa197175bdbb7c..774a55a0cb9e13b346197bc3dd80d18b88238737 100644 |
| --- a/chrome/browser/ui/intents/web_intent_picker_model.h |
| +++ b/chrome/browser/ui/intents/web_intent_picker_model.h |
| @@ -74,6 +74,14 @@ class WebIntentPickerModel { |
| observer_ = observer; |
| } |
| + void set_action(const string16& action) { action_ = action; } |
| + |
| + const string16& action() { return action_; } |
| + |
| + void set_mimetype(const string16& mimetype) { mimetype_ = mimetype; } |
| + |
| + const string16& mimetype() { return mimetype_; } |
| + |
| // Add a new installed service with |title|, |url| and |disposition| to the |
| // picker. |
| void AddInstalledService(const string16& title, |
| @@ -146,6 +154,10 @@ class WebIntentPickerModel { |
| // GURL::EmptyGURL() if none. |
| GURL inline_disposition_url_; |
| + string16 action_; |
|
James Hawkins
2012/03/15 01:05:20
Document member variables.
binji
2012/03/15 17:53:14
Done.
|
| + |
| + string16 mimetype_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(WebIntentPickerModel); |
| }; |