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

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

Issue 2479093002: Migrate more files to histogram_macros.h from histogram.h. (Closed)
Patch Set: Created 4 years, 1 month 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_macros.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/common/cloud_print/cloud_print_constants.h" 11 #include "chrome/common/cloud_print/cloud_print_constants.h"
12 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
13 #include "chrome/service/cloud_print/print_system.h" 13 #include "chrome/service/cloud_print/print_system.h"
14 #include "chrome/service/service_process_prefs.h" 14 #include "chrome/service/service_process_prefs.h"
15 #include "components/cloud_devices/common/cloud_devices_urls.h" 15 #include "components/cloud_devices/common/cloud_devices_urls.h"
16 16
17 namespace { 17 namespace {
18 18
19 const char kDeleteOnEnumFail[] = "delete_on_enum_fail"; 19 const char kDeleteOnEnumFail[] = "delete_on_enum_fail";
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 than 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/service/cloud_print/cloud_print_url_fetcher.cc ('k') | chrome/service/cloud_print/job_status_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698