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

Side by Side Diff: net/base/escape.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/elements_upload_data_stream_unittest.cc ('k') | net/base/escape_unittest.cc » ('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 (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 #ifndef NET_BASE_ESCAPE_H_ 5 #ifndef NET_BASE_ESCAPE_H_
6 #define NET_BASE_ESCAPE_H_ 6 #define NET_BASE_ESCAPE_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/basictypes.h"
12 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
13 #include "base/strings/utf_offset_string_conversions.h" 14 #include "base/strings/utf_offset_string_conversions.h"
14 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
15 16
16 namespace net { 17 namespace net {
17 18
18 // Escaping -------------------------------------------------------------------- 19 // Escaping --------------------------------------------------------------------
19 20
20 // Escapes characters in text suitable for use as a query parameter value. 21 // Escapes characters in text suitable for use as a query parameter value.
21 // We %XX everything except alphanumerics and -_.!~*'() 22 // We %XX everything except alphanumerics and -_.!~*'()
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 UnescapeRule::Type rules, 137 UnescapeRule::Type rules,
137 base::OffsetAdjuster::Adjustments* adjustments); 138 base::OffsetAdjuster::Adjustments* adjustments);
138 139
139 // Unescapes the following ampersand character codes from |text|: 140 // Unescapes the following ampersand character codes from |text|:
140 // &lt; &gt; &amp; &quot; &#39; 141 // &lt; &gt; &amp; &quot; &#39;
141 NET_EXPORT base::string16 UnescapeForHTML(const base::string16& text); 142 NET_EXPORT base::string16 UnescapeForHTML(const base::string16& text);
142 143
143 } // namespace net 144 } // namespace net
144 145
145 #endif // NET_BASE_ESCAPE_H_ 146 #endif // NET_BASE_ESCAPE_H_
OLDNEW
« no previous file with comments | « net/base/elements_upload_data_stream_unittest.cc ('k') | net/base/escape_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698