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

Side by Side Diff: url/gurl.h

Issue 1152373003: url: Fix the TODO in url_parse.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « remoting/host/setup/oauth_helper.cc ('k') | url/url_canon.h » ('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_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/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "url/third_party/mozilla/url_parse.h"
13 #include "url/url_canon.h" 14 #include "url/url_canon.h"
14 #include "url/url_canon_stdstring.h" 15 #include "url/url_canon_stdstring.h"
15 #include "url/url_constants.h" 16 #include "url/url_constants.h"
16 #include "url/url_export.h" 17 #include "url/url_export.h"
17 #include "url/url_parse.h"
18 18
19 class URL_EXPORT GURL { 19 class URL_EXPORT GURL {
20 public: 20 public:
21 typedef url::StringPieceReplacements<std::string> Replacements; 21 typedef url::StringPieceReplacements<std::string> Replacements;
22 typedef url::StringPieceReplacements<base::string16> ReplacementsW; 22 typedef url::StringPieceReplacements<base::string16> ReplacementsW;
23 23
24 // Creates an empty, invalid URL. 24 // Creates an empty, invalid URL.
25 GURL(); 25 GURL();
26 26
27 // Copy construction is relatively inexpensive, with most of the time going 27 // Copy construction is relatively inexpensive, with most of the time going
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // Used for nested schemes [currently only filesystem:]. 418 // Used for nested schemes [currently only filesystem:].
419 scoped_ptr<GURL> inner_url_; 419 scoped_ptr<GURL> inner_url_;
420 420
421 // TODO bug 684583: Add encoding for query params. 421 // TODO bug 684583: Add encoding for query params.
422 }; 422 };
423 423
424 // Stream operator so GURL can be used in assertion statements. 424 // Stream operator so GURL can be used in assertion statements.
425 URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url); 425 URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url);
426 426
427 #endif // URL_GURL_H_ 427 #endif // URL_GURL_H_
OLDNEW
« no previous file with comments | « remoting/host/setup/oauth_helper.cc ('k') | url/url_canon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698