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

Side by Side Diff: webrtc/base/urlencode.h

Issue 1789463002: Update examples GYP to avoid rtc_base_approved warning. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 /* 1 /*
2 * Copyright 2008 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2008 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 _URLENCODE_H_ 11 #ifndef WEBRTC_BASE_URLENCODE_H_
12 #define _URLENCODE_H_ 12 #define WEBRTC_BASE_URLENCODE_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 namespace rtc { 16 namespace rtc {
17 17
18 // Decode all encoded characters. Also decode + as space. 18 // Decode all encoded characters. Also decode + as space.
19 int UrlDecode(const char *source, char *dest); 19 int UrlDecode(const char *source, char *dest);
20 20
21 // Decode all encoded characters. 21 // Decode all encoded characters.
22 int UrlDecodeWithoutEncodingSpaceAsPlus(const char *source, char *dest); 22 int UrlDecodeWithoutEncodingSpaceAsPlus(const char *source, char *dest);
(...skipping 11 matching lines...) Expand all
34 int UrlEncodeOnlyUnsafeChars(const char *source, char *dest, unsigned max); 34 int UrlEncodeOnlyUnsafeChars(const char *source, char *dest, unsigned max);
35 35
36 std::string UrlDecodeString(const std::string & encoded); 36 std::string UrlDecodeString(const std::string & encoded);
37 std::string UrlDecodeStringWithoutEncodingSpaceAsPlus( 37 std::string UrlDecodeStringWithoutEncodingSpaceAsPlus(
38 const std::string & encoded); 38 const std::string & encoded);
39 std::string UrlEncodeString(const std::string & decoded); 39 std::string UrlEncodeString(const std::string & decoded);
40 std::string UrlEncodeStringWithoutEncodingSpaceAsPlus( 40 std::string UrlEncodeStringWithoutEncodingSpaceAsPlus(
41 const std::string & decoded); 41 const std::string & decoded);
42 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded); 42 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded);
43 43
44 #endif 44 #endif // WEBRTC_BASE_URLENCODE_H_
45 45
46 } // namespace rtc 46 } // namespace rtc
OLDNEW
« webrtc/base/BUILD.gn ('K') | « webrtc/base/base.gyp ('k') | webrtc/webrtc_examples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698