| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebDatabase_h | 31 #ifndef WebDatabase_h |
| 32 #define WebDatabase_h | 32 #define WebDatabase_h |
| 33 | 33 |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 #include "WebSecurityOrigin.h" | 35 #include "WebSecurityOrigin.h" |
| 36 | 36 |
| 37 namespace WebCore { class DatabaseBackendBase; } | 37 namespace WebCore { class DatabaseBackendBase; } |
| 38 | 38 |
| 39 namespace WebKit { | 39 namespace blink { |
| 40 | 40 |
| 41 class WebDatabaseObserver; | 41 class WebDatabaseObserver; |
| 42 class WebString; | 42 class WebString; |
| 43 | 43 |
| 44 class WebDatabase { | 44 class WebDatabase { |
| 45 public: | 45 public: |
| 46 BLINK_EXPORT WebString name() const; | 46 BLINK_EXPORT WebString name() const; |
| 47 BLINK_EXPORT WebString displayName() const; | 47 BLINK_EXPORT WebString displayName() const; |
| 48 BLINK_EXPORT unsigned long estimatedSize() const; | 48 BLINK_EXPORT unsigned long estimatedSize() const; |
| 49 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 49 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 64 | 64 |
| 65 #if BLINK_IMPLEMENTATION | 65 #if BLINK_IMPLEMENTATION |
| 66 WebDatabase(const WebCore::DatabaseBackendBase*); | 66 WebDatabase(const WebCore::DatabaseBackendBase*); |
| 67 #endif | 67 #endif |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 WebDatabase() { } | 70 WebDatabase() { } |
| 71 const WebCore::DatabaseBackendBase* m_database; | 71 const WebCore::DatabaseBackendBase* m_database; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace WebKit | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif | 76 #endif |
| OLD | NEW |