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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 WebIDBDatabaseError& operator=(const WebIDBDatabaseError& error) | 48 WebIDBDatabaseError& operator=(const WebIDBDatabaseError& error) |
49 { | 49 { |
50 assign(error); | 50 assign(error); |
51 return *this; | 51 return *this; |
52 } | 52 } |
53 | 53 |
54 BLINK_EXPORT void assign(const WebIDBDatabaseError&); | 54 BLINK_EXPORT void assign(const WebIDBDatabaseError&); |
55 BLINK_EXPORT void reset(); | 55 BLINK_EXPORT void reset(); |
56 | 56 |
57 #if BLINK_IMPLEMENTATION | 57 #if BLINK_IMPLEMENTATION |
58 operator WTF::PassRefPtr<WebCore::DOMError>() const; | 58 operator PassRefPtrWillBeRawPtr<WebCore::DOMError>() const; |
59 #endif | 59 #endif |
60 | 60 |
61 private: | 61 private: |
62 BLINK_EXPORT void assign(unsigned short code); | 62 BLINK_EXPORT void assign(unsigned short code); |
63 BLINK_EXPORT void assign(unsigned short code, const WebString& message); | 63 BLINK_EXPORT void assign(unsigned short code, const WebString& message); |
64 | 64 |
65 WebPrivatePtr<WebCore::DOMError> m_private; | 65 WebPrivatePtr<WebCore::DOMError> m_private; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace blink | 68 } // namespace blink |
69 | 69 |
70 #endif // WebIDBDatabaseError_h | 70 #endif // WebIDBDatabaseError_h |
OLD | NEW |