Lines Matching defs:GURL

23 static GURL* empty_gurl = NULL;
64 GURL::GURL() : is_valid_(false) {
67 GURL::GURL(const GURL& other)
72 inner_url_.reset(new GURL(*other.inner_url_));
77 GURL::GURL(const std::string& url_string) {
81 GURL::GURL(const base::string16& url_string) {
85 GURL::GURL(const std::string& url_string, RetainWhiteSpaceSelector) {
89 GURL::GURL(const char* canonical_spec, size_t canonical_spec_len,
97 GURL::GURL(std::string canonical_spec,
106 void GURL::InitCanonical(const STR& input_spec, bool trim_path_end) {
117 inner_url_.reset(new GURL(spec_.data(), parsed_.Length(),
122 void GURL::InitializeFromCanonicalSpec() {
125 new GURL(spec_.data(), parsed_.Length(),
145 GURL test_url(spec_, RETAIN_TRAILING_PATH_WHITEPACE);
163 GURL::~GURL() {
166 GURL& GURL::operator=(GURL other) {
171 const std::string& GURL::spec() const {
179 GURL GURL::Resolve(const std::string& relative) const {
182 GURL GURL::Resolve(const base::string16& relative) const {
187 GURL GURL::ResolveWithCharsetConverter(
192 return GURL();
194 GURL result;
206 return GURL();
213 new GURL(result.spec_.data(), result.parsed_.Length(),
220 GURL GURL::ResolveWithCharsetConverter(
225 return GURL();
227 GURL result;
239 return GURL();
246 new GURL(result.spec_.data(), result.parsed_.Length(),
253 GURL GURL::ReplaceComponents(
255 GURL result;
259 return GURL();
272 result.inner_url_.reset(new GURL(spec_.data(), result.parsed_.Length(),
279 GURL GURL::ReplaceComponents(
281 GURL result;
285 return GURL();
298 result.inner_url_.reset(new GURL(spec_.data(), result.parsed_.Length(),
304 GURL GURL::GetOrigin() const {
308 return GURL();
323 GURL GURL::GetWithEmptyPath() const {
327 return GURL();
331 GURL other(*this);
347 bool GURL::IsStandard() const {
351 bool GURL::SchemeIs(const char* lower_ascii_scheme) const {
359 bool GURL::SchemeIsHTTPOrHTTPS() const {
363 bool GURL::SchemeIsWSOrWSS() const {
367 int GURL::IntPort() const {
373 int GURL::EffectiveIntPort() const {
381 std::string GURL::ExtractFileName() const {
387 std::string GURL::PathForRequest() const {
405 std::string GURL::HostNoBrackets() const {
415 std::string GURL::GetContent() const {
419 bool GURL::HostIsIPAddress() const {
432 const GURL& GURL::EmptyGURL() {
437 GURL* new_empty_gurl = new GURL;
451 empty_gurl = new GURL;
454 const GURL& GURL::EmptyGURL() {
462 bool GURL::DomainIs(const char* lower_ascii_domain,
509 void GURL::Swap(GURL* other) {
516 std::ostream& operator<<(std::ostream& out, const GURL& url) {