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

Side by Side Diff: content/browser/download/download_stats.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 "content/browser/download/download_stats.h" 5 #include "content/browser/download/download_stats.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/metrics/sparse_histogram.h" 9 #include "base/metrics/sparse_histogram.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "content/browser/download/download_resource_handler.h" 11 #include "content/browser/download/download_resource_handler.h"
12 #include "content/public/browser/download_interrupt_reasons.h" 12 #include "content/public/browser/download_interrupt_reasons.h"
13 #include "net/http/http_content_disposition.h" 13 #include "net/http/http_content_disposition.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 namespace { 17 namespace {
18 18
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 int state) { 769 int state) {
770 if (is_partial) 770 if (is_partial)
771 UMA_HISTOGRAM_ENUMERATION("Download.OriginStateOnPartialResumption", state, 771 UMA_HISTOGRAM_ENUMERATION("Download.OriginStateOnPartialResumption", state,
772 ORIGIN_STATE_ON_RESUMPTION_MAX); 772 ORIGIN_STATE_ON_RESUMPTION_MAX);
773 else 773 else
774 UMA_HISTOGRAM_ENUMERATION("Download.OriginStateOnFullResumption", state, 774 UMA_HISTOGRAM_ENUMERATION("Download.OriginStateOnFullResumption", state,
775 ORIGIN_STATE_ON_RESUMPTION_MAX); 775 ORIGIN_STATE_ON_RESUMPTION_MAX);
776 } 776 }
777 777
778 } // namespace content 778 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/dom_storage/session_storage_database.cc ('k') | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698