Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IDBClient_h | |
| 6 #define IDBClient_h | |
| 7 | |
| 8 #include "core/page/Page.h" | |
| 9 | |
| 10 namespace WebCore { | |
| 11 | |
| 12 class InspectorIndexedDBAgent; | |
| 13 | |
| 14 class IndexedDBClient : public Supplement<Page> { | |
|
pfeldman
2014/02/05 12:32:07
This is not really a client - you don't use it to
Vladislav Kaznacheev
2014/02/06 09:48:22
Removed this class completely.
On 2014/02/05 12:3
| |
| 15 WTF_MAKE_NONCOPYABLE(IndexedDBClient); | |
| 16 public: | |
| 17 static PassOwnPtr<IndexedDBClient> create(); | |
| 18 virtual ~IndexedDBClient() { } | |
| 19 | |
| 20 static const char* supplementName(); | |
| 21 | |
| 22 void setInspectorIndexedDBAgent(InspectorIndexedDBAgent* agent) { m_inspecto rAgent = agent; } | |
| 23 | |
| 24 private: | |
| 25 IndexedDBClient() { } | |
| 26 InspectorIndexedDBAgent* m_inspectorAgent; | |
| 27 }; | |
| 28 | |
| 29 void provideIndexedDBClientTo(Page*, PassOwnPtr<IndexedDBClient>); | |
| 30 | |
| 31 } // namespace WebCore | |
| 32 | |
| 33 #endif // IDBClient_h | |
| OLD | NEW |