| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. | 2  * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. | 
| 3  * All rights reserved. | 3  * All rights reserved. | 
| 4  * | 4  * | 
| 5  * Redistribution and use in source and binary forms, with or without | 5  * Redistribution and use in source and binary forms, with or without | 
| 6  * modification, are permitted provided that the following conditions | 6  * modification, are permitted provided that the following conditions | 
| 7  * are met: | 7  * are met: | 
| 8  * 1. Redistributions of source code must retain the above copyright | 8  * 1. Redistributions of source code must retain the above copyright | 
| 9  *    notice, this list of conditions and the following disclaimer. | 9  *    notice, this list of conditions and the following disclaimer. | 
| 10  * 2. Redistributions in binary form must reproduce the above copyright | 10  * 2. Redistributions in binary form must reproduce the above copyright | 
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 185 | 185 | 
| 186   operator const String&() const { return GetString(); } | 186   operator const String&() const { return GetString(); } | 
| 187   operator StringView() const { return StringView(GetString()); } | 187   operator StringView() const { return StringView(GetString()); } | 
| 188 | 188 | 
| 189   const url::Parsed& GetParsed() const { return parsed_; } | 189   const url::Parsed& GetParsed() const { return parsed_; } | 
| 190 | 190 | 
| 191   const KURL* InnerURL() const { return inner_url_.get(); } | 191   const KURL* InnerURL() const { return inner_url_.get(); } | 
| 192 | 192 | 
| 193   bool IsSafeToSendToAnotherThread() const; | 193   bool IsSafeToSendToAnotherThread() const; | 
| 194 | 194 | 
| 195   bool WhitespaceRemoved() const { return parsed_.whitespace_removed; } | 195   bool PotentiallyDanglingMarkup() const { | 
|  | 196     return parsed_.potentially_dangling_markup; | 
|  | 197   } | 
| 196 | 198 | 
| 197  private: | 199  private: | 
| 198   void Init(const KURL& base, | 200   void Init(const KURL& base, | 
| 199             const String& relative, | 201             const String& relative, | 
| 200             const WTF::TextEncoding* query_encoding); | 202             const WTF::TextEncoding* query_encoding); | 
| 201 | 203 | 
| 202   StringView ComponentStringView(const url::Component&) const; | 204   StringView ComponentStringView(const url::Component&) const; | 
| 203   String ComponentString(const url::Component&) const; | 205   String ComponentString(const url::Component&) const; | 
| 204   StringView StringViewForInvalidComponent() const; | 206   StringView StringViewForInvalidComponent() const; | 
| 205 | 207 | 
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 291 | 293 | 
| 292 // KURLHash is the default hash for String | 294 // KURLHash is the default hash for String | 
| 293 template <> | 295 template <> | 
| 294 struct DefaultHash<blink::KURL> { | 296 struct DefaultHash<blink::KURL> { | 
| 295   typedef blink::KURLHash Hash; | 297   typedef blink::KURLHash Hash; | 
| 296 }; | 298 }; | 
| 297 | 299 | 
| 298 }  // namespace WTF | 300 }  // namespace WTF | 
| 299 | 301 | 
| 300 #endif  // KURL_h | 302 #endif  // KURL_h | 
| OLD | NEW | 
|---|