OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, 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 met: | 5 * modification, are permitted provided that the following conditions are met: |
6 * | 6 * |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 15 matching lines...) Expand all Loading... |
26 #ifndef PageGroupIndexedDatabase_h | 26 #ifndef PageGroupIndexedDatabase_h |
27 #define PageGroupIndexedDatabase_h | 27 #define PageGroupIndexedDatabase_h |
28 | 28 |
29 #include "platform/Supplementable.h" | 29 #include "platform/Supplementable.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
32 | 32 |
33 class IDBFactoryBackendInterface; | 33 class IDBFactoryBackendInterface; |
34 class PageGroup; | 34 class PageGroup; |
35 | 35 |
36 class PageGroupIndexedDatabase : public Supplement<PageGroup> { | 36 class PageGroupIndexedDatabase FINAL : public Supplement<PageGroup> { |
37 public: | 37 public: |
38 virtual ~PageGroupIndexedDatabase(); | 38 virtual ~PageGroupIndexedDatabase(); |
39 static PageGroupIndexedDatabase* from(PageGroup&); | 39 static PageGroupIndexedDatabase* from(PageGroup&); |
40 | 40 |
41 IDBFactoryBackendInterface* factoryBackend(); | 41 IDBFactoryBackendInterface* factoryBackend(); |
42 | 42 |
43 private: | 43 private: |
44 PageGroupIndexedDatabase(); | 44 PageGroupIndexedDatabase(); |
45 static const char* supplementName(); | 45 static const char* supplementName(); |
46 | 46 |
47 RefPtr<IDBFactoryBackendInterface> m_factoryBackend; | 47 RefPtr<IDBFactoryBackendInterface> m_factoryBackend; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace WebCore | 50 } // namespace WebCore |
51 | 51 |
52 #endif // PageGroupIndexedDatabase_h | 52 #endif // PageGroupIndexedDatabase_h |
OLD | NEW |