OLD | NEW |
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_GURL_H_ | 5 #ifndef URL_GURL_H_ |
6 #define URL_GURL_H_ | 6 #define URL_GURL_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "url/url_canon.h" | 12 #include "url/url_canon.h" |
13 #include "url/url_canon_stdstring.h" | 13 #include "url/url_canon_stdstring.h" |
14 #include "url/url_export.h" | 14 #include "url/url_export.h" |
15 #include "url/url_parse.h" | 15 #include "url/url_parse.h" |
16 | 16 |
17 class URL_EXPORT GURL { | 17 class URL_EXPORT GURL { |
18 public: | 18 public: |
19 typedef url_canon::StdStringReplacements<std::string> Replacements; | 19 typedef url_canon::StdStringReplacements<std::string> Replacements; |
20 typedef url_canon::StdStringReplacements<string16> ReplacementsW; | 20 typedef url_canon::StdStringReplacements<string16> ReplacementsW; |
21 | 21 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 // Used for nested schemes [currently only filesystem:]. | 356 // Used for nested schemes [currently only filesystem:]. |
357 GURL* inner_url_; | 357 GURL* inner_url_; |
358 | 358 |
359 // TODO bug 684583: Add encoding for query params. | 359 // TODO bug 684583: Add encoding for query params. |
360 }; | 360 }; |
361 | 361 |
362 // Stream operator so GURL can be used in assertion statements. | 362 // Stream operator so GURL can be used in assertion statements. |
363 URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url); | 363 URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url); |
364 | 364 |
365 #endif // URL_GURL_H_ | 365 #endif // URL_GURL_H_ |
OLD | NEW |