Lines Matching defs:GURL

18 class URL_EXPORT GURL {
24 GURL();
28 GURL(const GURL& other);
37 explicit GURL(const std::string& url_string /*, output_param_encoding*/);
38 explicit GURL(const base::string16& url_string /*, output_param_encoding*/);
43 GURL(const char* canonical_spec, size_t canonical_spec_len,
49 // implementation, we use swap to move the data into the GURL itself,
51 GURL(std::string canonical_spec,
54 ~GURL();
56 GURL& operator=(GURL other);
113 bool operator==(const GURL& other) const {
116 bool operator!=(const GURL& other) const {
120 // Allows GURL to used as a key in STL (for example, a std::set or std::map).
121 bool operator<(const GURL& other) const {
124 bool operator>(const GURL& other) const {
135 // GURL.
143 GURL Resolve(const std::string& relative) const;
144 GURL Resolve(const base::string16& relative) const;
153 GURL ResolveWithCharsetConverter(
156 GURL ResolveWithCharsetConverter(
160 // Creates a new GURL by replacing the current URL's components with the
171 GURL ReplaceComponents(
173 GURL ReplaceComponents(
180 // an empty, invalid GURL. Note that this *does* work for file: URLs, which
185 GURL GetWithEmptyPath() const;
187 // A helper function to return a GURL containing just the scheme, host,
191 // invalid GURL. If the URL has neither username nor password, this
196 GURL GetOrigin() const;
345 // Swaps the contents of this GURL object with the argument without doing
347 void Swap(GURL* other);
349 // Returns a reference to a singleton empty GURL. This object is for callers
352 static const GURL& EmptyGURL();
356 const GURL* inner_url() const {
367 GURL(const std::string& url_string, RetainWhiteSpaceSelector);
393 scoped_ptr<GURL> inner_url_;
398 // Stream operator so GURL can be used in assertion statements.
399 URL_EXPORT std::ostream& operator<<(std::ostream& out, const GURL& url);