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

Side by Side Diff: chrome/service/cloud_print/connector_settings.cc

Issue 2157963002: Improve grammar in some comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: maxiumum Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/service/cloud_print/connector_settings.h" 5 #include "chrome/service/cloud_print/connector_settings.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 xmpp_ping_timeout_sec_ = source.xmpp_ping_timeout_sec(); 112 xmpp_ping_timeout_sec_ = source.xmpp_ping_timeout_sec();
113 printers_ = source.printers_; 113 printers_ = source.printers_;
114 if (source.print_system_settings()) 114 if (source.print_system_settings())
115 print_system_settings_.reset(source.print_system_settings()->DeepCopy()); 115 print_system_settings_.reset(source.print_system_settings()->DeepCopy());
116 } 116 }
117 117
118 void ConnectorSettings::SetXmppPingTimeoutSec(int timeout) { 118 void ConnectorSettings::SetXmppPingTimeoutSec(int timeout) {
119 xmpp_ping_timeout_sec_ = timeout; 119 xmpp_ping_timeout_sec_ = timeout;
120 if (xmpp_ping_timeout_sec_ < kMinXmppPingTimeoutSecs) { 120 if (xmpp_ping_timeout_sec_ < kMinXmppPingTimeoutSecs) {
121 LOG(WARNING) << 121 LOG(WARNING) <<
122 "CP_CONNECTOR: XMPP ping timeout is less then minimal value"; 122 "CP_CONNECTOR: XMPP ping timeout is less than minimal value";
123 xmpp_ping_timeout_sec_ = kMinXmppPingTimeoutSecs; 123 xmpp_ping_timeout_sec_ = kMinXmppPingTimeoutSecs;
124 } 124 }
125 } 125 }
126 126
127 } // namespace cloud_print 127 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.cc ('k') | chromeos/geolocation/simple_geolocation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698