| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "WebCString.h" | 34 #include "WebCString.h" |
| 35 #include "WebString.h" | 35 #include "WebString.h" |
| 36 #include <url/third_party/mozilla/url_parse.h> | 36 #include <url/third_party/mozilla/url_parse.h> |
| 37 | 37 |
| 38 #if INSIDE_BLINK | 38 #if INSIDE_BLINK |
| 39 namespace WebCore { class KURL; } | 39 namespace WebCore { class KURL; } |
| 40 #else | 40 #else |
| 41 #include <url/gurl.h> | 41 #include <url/gurl.h> |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 namespace WebKit { | 44 namespace blink { |
| 45 | 45 |
| 46 class WebURL { | 46 class WebURL { |
| 47 public: | 47 public: |
| 48 ~WebURL() | 48 ~WebURL() |
| 49 { | 49 { |
| 50 } | 50 } |
| 51 | 51 |
| 52 WebURL() | 52 WebURL() |
| 53 : m_isValid(false) | 53 : m_isValid(false) |
| 54 { | 54 { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 inline bool operator==(const WebURL& a, const WebURL& b) | 136 inline bool operator==(const WebURL& a, const WebURL& b) |
| 137 { | 137 { |
| 138 return a.string().equals(b.string()); | 138 return a.string().equals(b.string()); |
| 139 } | 139 } |
| 140 | 140 |
| 141 inline bool operator!=(const WebURL& a, const WebURL& b) | 141 inline bool operator!=(const WebURL& a, const WebURL& b) |
| 142 { | 142 { |
| 143 return !(a == b); | 143 return !(a == b); |
| 144 } | 144 } |
| 145 | 145 |
| 146 } // namespace WebKit | 146 } // namespace blink |
| 147 | 147 |
| 148 #endif | 148 #endif |
| OLD | NEW |