Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1880)

Unified Diff: Source/modules/indexeddb/IDBClient.h

Issue 148253005: DevTools: remove references to modules/indexeddb from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698