| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 20 matching lines...) Expand all Loading... |
| 31 #ifndef WebSecurityOrigin_h | 31 #ifndef WebSecurityOrigin_h |
| 32 #define WebSecurityOrigin_h | 32 #define WebSecurityOrigin_h |
| 33 | 33 |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 | 35 |
| 36 #if BLINK_IMPLEMENTATION | 36 #if BLINK_IMPLEMENTATION |
| 37 namespace WebCore { class SecurityOrigin; } | 37 namespace WebCore { class SecurityOrigin; } |
| 38 namespace WTF { template <typename T> class PassRefPtr; } | 38 namespace WTF { template <typename T> class PassRefPtr; } |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 namespace WebKit { | 41 namespace blink { |
| 42 | 42 |
| 43 class WebSecurityOriginPrivate; | 43 class WebSecurityOriginPrivate; |
| 44 class WebString; | 44 class WebString; |
| 45 class WebURL; | 45 class WebURL; |
| 46 | 46 |
| 47 class WebSecurityOrigin { | 47 class WebSecurityOrigin { |
| 48 public: | 48 public: |
| 49 ~WebSecurityOrigin() { reset(); } | 49 ~WebSecurityOrigin() { reset(); } |
| 50 | 50 |
| 51 WebSecurityOrigin() : m_private(0) { } | 51 WebSecurityOrigin() : m_private(0) { } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 WebSecurityOrigin& operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>&
); | 104 WebSecurityOrigin& operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>&
); |
| 105 operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const; | 105 operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const; |
| 106 WebCore::SecurityOrigin* get() const; | 106 WebCore::SecurityOrigin* get() const; |
| 107 #endif | 107 #endif |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 void assign(WebSecurityOriginPrivate*); | 110 void assign(WebSecurityOriginPrivate*); |
| 111 WebSecurityOriginPrivate* m_private; | 111 WebSecurityOriginPrivate* m_private; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace WebKit | 114 } // namespace blink |
| 115 | 115 |
| 116 #endif | 116 #endif |
| OLD | NEW |