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

Side by Side Diff: webrtc/rtc_base/stringencode.h

Issue 2966523003: Reland "Update includes for webrtc/{base => rtc_base} rename (3/3)" (Closed)
Patch Set: Restoring prime suspect includes Created 3 years, 5 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
« no previous file with comments | « webrtc/rtc_base/string_to_number_unittest.cc ('k') | webrtc/rtc_base/stringencode.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 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_RTC_BASE_STRINGENCODE_H_ 11 #ifndef WEBRTC_RTC_BASE_STRINGENCODE_H_
12 #define WEBRTC_RTC_BASE_STRINGENCODE_H_ 12 #define WEBRTC_RTC_BASE_STRINGENCODE_H_
13 13
14 #include <sstream> 14 #include <sstream>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/checks.h" 18 #include "webrtc/rtc_base/checks.h"
19 19
20 namespace rtc { 20 namespace rtc {
21 21
22 ////////////////////////////////////////////////////////////////////// 22 //////////////////////////////////////////////////////////////////////
23 // String Encoding Utilities 23 // String Encoding Utilities
24 ////////////////////////////////////////////////////////////////////// 24 //////////////////////////////////////////////////////////////////////
25 25
26 // Convert an unsigned value to it's utf8 representation. Returns the length 26 // Convert an unsigned value to it's utf8 representation. Returns the length
27 // of the encoded string, or 0 if the encoding is longer than buflen - 1. 27 // of the encoded string, or 0 if the encoding is longer than buflen - 1.
28 size_t utf8_encode(char* buffer, size_t buflen, unsigned long value); 28 size_t utf8_encode(char* buffer, size_t buflen, unsigned long value);
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 // simple function to strip out characters which shouldn't be 216 // simple function to strip out characters which shouldn't be
217 // used in filenames 217 // used in filenames
218 char make_char_safe_for_filename(char c); 218 char make_char_safe_for_filename(char c);
219 219
220 ////////////////////////////////////////////////////////////////////// 220 //////////////////////////////////////////////////////////////////////
221 221
222 } // namespace rtc 222 } // namespace rtc
223 223
224 #endif // WEBRTC_RTC_BASE_STRINGENCODE_H__ 224 #endif // WEBRTC_RTC_BASE_STRINGENCODE_H__
OLDNEW
« no previous file with comments | « webrtc/rtc_base/string_to_number_unittest.cc ('k') | webrtc/rtc_base/stringencode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698