| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
| 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 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef DOMURLUtilsReadOnly_h | 27 #ifndef DOMURLUtilsReadOnly_h |
| 28 #define DOMURLUtilsReadOnly_h | 28 #define DOMURLUtilsReadOnly_h |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "platform/weborigin/KURL.h" | 31 #include "platform/weborigin/KURL.h" |
| 32 #include "wtf/Forward.h" | 32 #include "platform/wtf/Forward.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class CORE_EXPORT DOMURLUtilsReadOnly { | 36 class CORE_EXPORT DOMURLUtilsReadOnly { |
| 37 public: | 37 public: |
| 38 virtual KURL Url() const = 0; | 38 virtual KURL Url() const = 0; |
| 39 virtual String Input() const = 0; | 39 virtual String Input() const = 0; |
| 40 virtual ~DOMURLUtilsReadOnly() {} | 40 virtual ~DOMURLUtilsReadOnly() {} |
| 41 | 41 |
| 42 String href(); | 42 String href(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 68 static String search(const KURL&); | 68 static String search(const KURL&); |
| 69 String search() { return search(Url()); } | 69 String search() { return search(Url()); } |
| 70 | 70 |
| 71 static String hash(const KURL&); | 71 static String hash(const KURL&); |
| 72 String hash() { return hash(Url()); } | 72 String hash() { return hash(Url()); } |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace blink | 75 } // namespace blink |
| 76 | 76 |
| 77 #endif // DOMURLUtilsReadOnly_h | 77 #endif // DOMURLUtilsReadOnly_h |
| OLD | NEW |