Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h |
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h |
index 59d43167f717c3c21a6fa32cd53984f7ab7fd55f..68e1069ce7d7034d3f1f5a40852caff20cf99ded 100644 |
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h |
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h |
@@ -86,6 +86,9 @@ class LocalDiscoveryUIHandler : public content::WebUIMessageHandler, |
// For when a user choice is made. |
void HandleChooseUser(const base::ListValue* args); |
+ // For when a cancelation is made. |
+ void HandleCancelRegistration(const base::ListValue* args); |
+ |
// For when the IP address of the printer has been resolved for registration. |
void StartRegisterHTTP( |
const std::string& user, |
@@ -126,6 +129,9 @@ class LocalDiscoveryUIHandler : public content::WebUIMessageHandler, |
const std::string& xsrf_token, |
const GURL& automatic_claim_url); |
+ // Reset and cancel the current registration. |
+ void ResetCurrentRegistration(); |
+ |
// The current HTTP client (used for the current operation). |
scoped_ptr<PrivetHTTPClient> current_http_client_; |