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

Side by Side Diff: chrome/service/cloud_print/cloud_print_proxy_backend.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/cloud_print_proxy_backend.h" 5 #include "chrome/service/cloud_print/cloud_print_proxy_backend.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram_macros.h"
18 #include "base/rand_util.h" 18 #include "base/rand_util.h"
19 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
20 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/common/cloud_print/cloud_print_constants.h" 22 #include "chrome/common/cloud_print/cloud_print_constants.h"
23 #include "chrome/service/cloud_print/cloud_print_auth.h" 23 #include "chrome/service/cloud_print/cloud_print_auth.h"
24 #include "chrome/service/cloud_print/cloud_print_connector.h" 24 #include "chrome/service/cloud_print/cloud_print_connector.h"
25 #include "chrome/service/cloud_print/cloud_print_service_helpers.h" 25 #include "chrome/service/cloud_print/cloud_print_service_helpers.h"
26 #include "chrome/service/cloud_print/cloud_print_token_store.h" 26 #include "chrome/service/cloud_print/cloud_print_token_store.h"
27 #include "chrome/service/cloud_print/connector_settings.h" 27 #include "chrome/service/cloud_print/connector_settings.h"
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 HandlePrinterNotification(notification.data); 578 HandlePrinterNotification(notification.data);
579 } 579 }
580 580
581 void CloudPrintProxyBackend::Core::OnPingResponse() { 581 void CloudPrintProxyBackend::Core::OnPingResponse() {
582 UMA_HISTOGRAM_COUNTS_100("CloudPrint.XmppPingTry", pending_xmpp_pings_); 582 UMA_HISTOGRAM_COUNTS_100("CloudPrint.XmppPingTry", pending_xmpp_pings_);
583 pending_xmpp_pings_ = 0; 583 pending_xmpp_pings_ = 0;
584 VLOG(1) << "CP_CONNECTOR: Ping response received."; 584 VLOG(1) << "CP_CONNECTOR: Ping response received.";
585 } 585 }
586 586
587 } // namespace cloud_print 587 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy.cc ('k') | chrome/service/cloud_print/cloud_print_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698