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 41a5adc656793a8be7dc160658a74be4ebc98a09..6ac103ccdff60a4475bfef6503ef62fd2c45ef05 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_model.h |
+++ b/chrome/browser/ui/intents/web_intent_picker_model.h |
@@ -137,6 +137,12 @@ class WebIntentPickerModel { |
// Returns true if the picker is currently displaying an inline service. |
bool IsInlineDisposition() const; |
+ // Returns true if there is still a pending request for suggestions from CWS. |
+ bool IsWaitingForSuggestions() const; |
+ |
+ // Set the "waiting for suggestions" status to |waiting| |
+ void SetWaitingForSuggestions(bool waiting); |
+ |
// Returns the url of the intent service that is being displayed inline, or |
// GURL::EmptyGURL() if none. |
const GURL& inline_disposition_url() const { return inline_disposition_url_; } |
@@ -171,6 +177,9 @@ class WebIntentPickerModel { |
// finds a default service matching the intent being dispatched. |
GURL default_service_url_; |
+ // Indicates that there are still open requests to CWS. |
+ bool waiting_for_suggestions_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebIntentPickerModel); |
}; |