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

Side by Side Diff: net/base/url_util.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/base/upload_progress.h ('k') | net/base/zap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef NET_BASE_URL_UTIL_H_ 5 #ifndef NET_BASE_URL_UTIL_H_
6 #define NET_BASE_URL_UTIL_H_ 6 #define NET_BASE_URL_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
11 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
12 #include "url/third_party/mozilla/url_parse.h" 13 #include "url/third_party/mozilla/url_parse.h"
13 14
14 class GURL; 15 class GURL;
15 16
16 namespace net { 17 namespace net {
17 18
18 // Returns a new GURL by appending the given query parameter name and the 19 // Returns a new GURL by appending the given query parameter name and the
19 // value. Unsafe characters in the name and the value are escaped like 20 // value. Unsafe characters in the name and the value are escaped like
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const std::string& search_key, 78 const std::string& search_key,
78 std::string* out_value); 79 std::string* out_value);
79 80
80 81
81 // Returns the hostname by trimming the ending dot, if one exists. 82 // Returns the hostname by trimming the ending dot, if one exists.
82 NET_EXPORT std::string TrimEndingDot(const base::StringPiece& host); 83 NET_EXPORT std::string TrimEndingDot(const base::StringPiece& host);
83 84
84 } // namespace net 85 } // namespace net
85 86
86 #endif // NET_BASE_URL_UTIL_H_ 87 #endif // NET_BASE_URL_UTIL_H_
OLDNEW
« no previous file with comments | « net/base/upload_progress.h ('k') | net/base/zap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698