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

Unified Diff: cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc

Issue 22555003: GCP2.0 Device: Local settings workflow. (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/cloud_print_xmpp_listener.cc
diff --git a/cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc b/cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc
index 6ad902304e13068e2e090b1c7b60036908545ed9..6c7c2350ff84df49a4895757b92d7b70c4efca0c 100644
--- a/cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc
+++ b/cloud_print/gcp20/prototype/cloud_print_xmpp_listener.cc
@@ -61,7 +61,7 @@ CloudPrintXmppListener::~CloudPrintXmppListener() {
void CloudPrintXmppListener::Connect(const std::string& access_token) {
access_token_ = access_token;
ping_responses_pending_ = 0;
- ping_scheduled_ = 0;
+ ping_scheduled_ = false;
notifier::NotifierOptions options;
options.request_context_getter = context_getter_;
@@ -81,7 +81,7 @@ void CloudPrintXmppListener::Connect(const std::string& access_token) {
push_client_->UpdateCredentials(robot_email_, access_token_);
}
-void CloudPrintXmppListener::set_standard_ping_interval(int interval) {
+void CloudPrintXmppListener::set_ping_interval(int interval) {
standard_ping_interval_ = interval;
}
« no previous file with comments | « cloud_print/gcp20/prototype/cloud_print_xmpp_listener.h ('k') | cloud_print/gcp20/prototype/gcp20_device.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698