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

Side by Side Diff: url/url_util.h

Issue 273193004: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing files. Created 6 years, 6 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 | « url/url_constants.cc ('k') | url/url_util.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 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 URL_URL_UTIL_H_ 5 #ifndef URL_URL_UTIL_H_
6 #define URL_URL_UTIL_H_ 6 #define URL_URL_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "url/url_canon.h" 11 #include "url/url_canon.h"
12 #include "url/url_constants.h"
12 #include "url/url_export.h" 13 #include "url/url_export.h"
13 #include "url/url_parse.h" 14 #include "url/url_parse.h"
14 15
15 namespace url { 16 namespace url {
16 17
17 // Init ------------------------------------------------------------------------ 18 // Init ------------------------------------------------------------------------
18 19
19 // Initialization is NOT required, it will be implicitly initialized when first 20 // Initialization is NOT required, it will be implicitly initialized when first
20 // used. However, this implicit initialization is NOT threadsafe. If you are 21 // used. However, this implicit initialization is NOT threadsafe. If you are
21 // using this library in a threaded environment and don't have a consistent 22 // using this library in a threaded environment and don't have a consistent
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 196
196 // Escapes the given string as defined by the JS method encodeURIComponent. See 197 // Escapes the given string as defined by the JS method encodeURIComponent. See
197 // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeUR IComponent 198 // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeUR IComponent
198 URL_EXPORT void EncodeURIComponent(const char* input, 199 URL_EXPORT void EncodeURIComponent(const char* input,
199 int length, 200 int length,
200 CanonOutput* output); 201 CanonOutput* output);
201 202
202 } // namespace url 203 } // namespace url
203 204
204 #endif // URL_URL_UTIL_H_ 205 #endif // URL_URL_UTIL_H_
OLDNEW
« no previous file with comments | « url/url_constants.cc ('k') | url/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698