Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
index f18848109b4f4ab42bbecf5d9e9d774ff9ceca67..ecf8ff926cb3a3f5226ca10efad91f493f1b0a12 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
@@ -223,9 +223,12 @@ class PrintPreviewHandler |
const std::string& default_printer); |
// Send OAuth2 access token. |
- void SendAccessToken(const std::string& type, |
+ void SendAccessToken(const std::string& callback_id, |
const std::string& access_token); |
+ // Send message indicating a request for token was already in progress. |
+ void SendRequestInProgress(const std::string& callback_id); |
+ |
// Sends the printer capabilities to the Web UI. |settings_info| contains |
// printer capabilities information. If |settings_info| is empty, sends |
// error notification to the Web UI instead. |
@@ -334,9 +337,9 @@ class PrintPreviewHandler |
// Called when an extension reports information requested for a provisional |
// printer. |
- // |printer_id|: The provisional printer id. |
+ // |callback_id|: The javascript callback to resolve or reject. |
// |printer_info|: The data reported by the extension. |
- void OnGotExtensionPrinterInfo(const std::string& printer_id, |
+ void OnGotExtensionPrinterInfo(const std::string& callback_id, |
const base::DictionaryValue& printer_info); |
// Called when an extension reports the set of print capabilites for a |