| 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 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 case NO_PREFETCH_MOTIVATION: | 354 case NO_PREFETCH_MOTIVATION: |
| 355 return "n/a"; | 355 return "n/a"; |
| 356 | 356 |
| 357 case STATIC_REFERAL_MOTIVATED: | 357 case STATIC_REFERAL_MOTIVATED: |
| 358 return RemoveJs(referring_url_.spec()) + "*"; | 358 return RemoveJs(referring_url_.spec()) + "*"; |
| 359 | 359 |
| 360 case LEARNED_REFERAL_MOTIVATED: | 360 case LEARNED_REFERAL_MOTIVATED: |
| 361 return RemoveJs(referring_url_.spec()); | 361 return RemoveJs(referring_url_.spec()); |
| 362 | 362 |
| 363 default: | 363 default: |
| 364 return ""; | 364 return std::string(); |
| 365 } | 365 } |
| 366 } | 366 } |
| 367 | 367 |
| 368 } // namespace chrome_browser_net | 368 } // namespace chrome_browser_net |
| OLD | NEW |