Index: Source/modules/indexeddb/IDBClient.h |
diff --git a/Source/modules/indexeddb/IDBClient.h b/Source/modules/indexeddb/IDBClient.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..66ec29faa573a8c027ddc2e5d556c54a286c2945 |
--- /dev/null |
+++ b/Source/modules/indexeddb/IDBClient.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IDBClient_h |
+#define IDBClient_h |
+ |
+#include "core/page/Page.h" |
+ |
+namespace WebCore { |
+ |
+class InspectorIndexedDBAgent; |
+ |
+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
|
+ WTF_MAKE_NONCOPYABLE(IndexedDBClient); |
+public: |
+ static PassOwnPtr<IndexedDBClient> create(); |
+ virtual ~IndexedDBClient() { } |
+ |
+ static const char* supplementName(); |
+ |
+ void setInspectorIndexedDBAgent(InspectorIndexedDBAgent* agent) { m_inspectorAgent = agent; } |
+ |
+private: |
+ IndexedDBClient() { } |
+ InspectorIndexedDBAgent* m_inspectorAgent; |
+}; |
+ |
+void provideIndexedDBClientTo(Page*, PassOwnPtr<IndexedDBClient>); |
+ |
+} // namespace WebCore |
+ |
+#endif // IDBClient_h |