Index: cloud_print/gcp20/prototype/printer.h |
diff --git a/cloud_print/gcp20/prototype/printer.h b/cloud_print/gcp20/prototype/printer.h |
index fab918956f0cf7905b5f18ce6c48d4886591cb9d..f3c25022d6a400f9385d8fcbd4c1f2fc093bd3f6 100644 |
--- a/cloud_print/gcp20/prototype/printer.h |
+++ b/cloud_print/gcp20/prototype/printer.h |
@@ -193,7 +193,11 @@ class Printer : public base::SupportsWeakPtr<Printer>, |
std::string ConnectionStateToString(ConnectionState state) const; |
- // Changes state and update info in DNS server. |
+ // Stops all Internet-services and boots them again in |delay| time. |
+ void ReconnectIn(const base::TimeDelta& delay); |
+ |
+ // Changes state and update info in DNS server. Returns |true| if state |
+ // was changed (otherwise state was the same). |
bool ChangeState(ConnectionState new_state); |
RegistrationInfo reg_info_; |