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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/data_reduction_proxy/core/browser/data_reduction_proxy_tamp er_detection.h" 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_tamp er_detection.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstring> 8 #include <cstring>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/md5.h" 11 #include "base/md5.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/metrics/sparse_histogram.h" 13 #include "base/metrics/sparse_histogram.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h" 16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h"
17 #include "net/base/mime_util.h" 17 #include "net/base/mime_util.h"
18 #include "net/http/http_response_headers.h" 18 #include "net/http/http_response_headers.h"
19 #include "net/http/http_util.h" 19 #include "net/http/http_util.h"
20 20
21 #if defined(OS_ANDROID) 21 #if defined(OS_ANDROID)
22 #include "net/android/network_library.h" 22 #include "net/android/network_library.h"
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 std::vector<std::string> values; 531 std::vector<std::string> values;
532 std::string value; 532 std::string value;
533 void* iter = NULL; 533 void* iter = NULL;
534 while (headers->EnumerateHeader(&iter, header_name, &value)) { 534 while (headers->EnumerateHeader(&iter, header_name, &value)) {
535 values.push_back(value); 535 values.push_back(value);
536 } 536 }
537 return values; 537 return values;
538 } 538 }
539 539
540 } // namespace data_reduction_proxy 540 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698