Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: cloud_print/gcp20/prototype/printer.h

Issue 22184007: GCP2.0 Device: Instant AccessToken update on AuthFailed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698