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 4c6504dc52cbb103097a4f20c577503563c9166f..be048767d118249f0bd0f5f11590899c9718dd10 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_model.h |
+++ b/chrome/browser/ui/intents/web_intent_picker_model.h |
@@ -143,6 +143,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. |
GURL inline_disposition_url() const { return inline_disposition_url_; } |
@@ -177,6 +183,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); |
}; |