Lines Matching defs:GURL

19 class URL_EXPORT GURL {
25 GURL();
29 GURL(const GURL& other);
38 explicit GURL(const std::string& url_string /*, output_param_encoding*/);
39 explicit GURL(const base::string16& url_string /*, output_param_encoding*/);
44 GURL(const char* canonical_spec,
52 // implementation, we use swap to move the data into the GURL itself,
54 GURL(std::string canonical_spec, const url::Parsed& parsed, bool is_valid);
56 ~GURL();
58 GURL& operator=(GURL other);
115 bool operator==(const GURL& other) const {
118 bool operator!=(const GURL& other) const {
122 // Allows GURL to used as a key in STL (for example, a std::set or std::map).
123 bool operator<(const GURL& other) const {
126 bool operator>(const GURL& other) const {
137 // GURL.
145 GURL Resolve(const std::string& relative) const;
146 GURL Resolve(const base::string16& relative) const;
155 GURL ResolveWithCharsetConverter(
158 GURL ResolveWithCharsetConverter(
162 // Creates a new GURL by replacing the current URL's components with the
173 GURL ReplaceComponents(const url::Replacements<char>& replacements) const;
174 GURL ReplaceComponents(
181 // an empty, invalid GURL. Note that this *does* work for file: URLs, which
186 GURL GetWithEmptyPath() const;
188 // A helper function to return a GURL containing just the scheme, host,
192 // invalid GURL. If the URL has neither username nor password, this
197 GURL GetOrigin() const;
199 // A helper function to return a GURL stripped from the elements that are not
202 GURL GetAsReferrer() const;
356 // Swaps the contents of this GURL object with the argument without doing
358 void Swap(GURL* other);
360 // Returns a reference to a singleton empty GURL. This object is for callers
363 static const GURL& EmptyGURL();
367 const GURL* inner_url() const {
378 GURL(const std::string& url_string, RetainWhiteSpaceSelector);
404 scoped_ptr<GURL> inner_url_;
409 // Stream operator so GURL can be used in assertion statements.
410 URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url);