| OLD | NEW |
| 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 <stdint.h> | 10 #include <stdint.h> |
| 10 | 11 |
| 11 #include <algorithm> | 12 #include <algorithm> |
| 12 #include <limits> | 13 #include <limits> |
| 13 #include <string> | 14 #include <string> |
| 14 | 15 |
| 15 #include "base/format_macros.h" | 16 #include "base/format_macros.h" |
| 16 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
| 17 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "base/macros.h" |
| 18 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
| 19 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
| 20 | 22 |
| 21 using base::Time; | 23 using base::Time; |
| 22 using base::TimeDelta; | 24 using base::TimeDelta; |
| 23 using base::TimeTicks; | 25 using base::TimeTicks; |
| 24 | 26 |
| 25 namespace chrome_browser_net { | 27 namespace chrome_browser_net { |
| 26 | 28 |
| 27 namespace { | 29 namespace { |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 | 370 |
| 369 case LEARNED_REFERAL_MOTIVATED: | 371 case LEARNED_REFERAL_MOTIVATED: |
| 370 return RemoveJs(referring_url_.spec()); | 372 return RemoveJs(referring_url_.spec()); |
| 371 | 373 |
| 372 default: | 374 default: |
| 373 return std::string(); | 375 return std::string(); |
| 374 } | 376 } |
| 375 } | 377 } |
| 376 | 378 |
| 377 } // namespace chrome_browser_net | 379 } // namespace chrome_browser_net |
| OLD | NEW |