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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <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
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
OLDNEW
« no previous file with comments | « chrome/browser/net/url_info.h ('k') | chrome/browser/net/utility_process_mojo_proxy_resolver_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698