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

Side by Side Diff: chrome/browser/net/url_info.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
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 "chrome/browser/net/url_info.h" 5 #include "chrome/browser/net/url_info.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 #include <math.h> 8 #include <math.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <limits> 13 #include <limits>
14 #include <string> 14 #include <string>
15 15
16 #include "base/format_macros.h" 16 #include "base/format_macros.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/metrics/histogram.h" 20 #include "base/metrics/histogram_macros.h"
21 #include "base/strings/stringprintf.h" 21 #include "base/strings/stringprintf.h"
22 22
23 using base::Time; 23 using base::Time;
24 using base::TimeDelta; 24 using base::TimeDelta;
25 using base::TimeTicks; 25 using base::TimeTicks;
26 26
27 namespace chrome_browser_net { 27 namespace chrome_browser_net {
28 28
29 namespace { 29 namespace {
30 30
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 372
373 case LEARNED_REFERAL_MOTIVATED: 373 case LEARNED_REFERAL_MOTIVATED:
374 return RemoveJs(referring_url_.spec()); 374 return RemoveJs(referring_url_.spec());
375 375
376 default: 376 default:
377 return std::string(); 377 return std::string();
378 } 378 }
379 } 379 }
380 380
381 } // namespace chrome_browser_net 381 } // namespace chrome_browser_net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698