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

Unified Diff: content/renderer/indexed_db/renderer_webidbobjectstore_impl.h

Issue 9368053: Move indexed db files from content/renderer to content/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneccesary include Created 8 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: content/renderer/indexed_db/renderer_webidbobjectstore_impl.h
diff --git a/content/renderer/indexed_db/renderer_webidbobjectstore_impl.h b/content/renderer/indexed_db/renderer_webidbobjectstore_impl.h
deleted file mode 100644
index 18c45899ffa13bada125ad7c9362aa7bfda1fa8c..0000000000000000000000000000000000000000
--- a/content/renderer/indexed_db/renderer_webidbobjectstore_impl.h
+++ /dev/null
@@ -1,78 +0,0 @@
-// Copyright (c) 2011 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 CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
-#define CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
-
-namespace WebKit {
-class WebIDBCallbacks;
-class WebIDBIndex;
-class WebIDBKey;
-class WebIDBKeyRange;
-class WebString;
-}
-
-class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
- public:
- explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id);
- virtual ~RendererWebIDBObjectStoreImpl();
-
- // WebKit::WebIDBObjectStore
- virtual WebKit::WebString name() const;
- virtual WebKit::WebString keyPath() const;
- virtual WebKit::WebDOMStringList indexNames() const;
-
- virtual void get(const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
- virtual void put(const WebKit::WebSerializedScriptValue& value,
- const WebKit::WebIDBKey& key,
- PutMode put_mode,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
- virtual void deleteFunction(const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
- virtual void clear(WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
-
- virtual WebKit::WebIDBIndex* createIndex(
- const WebKit::WebString& name,
- const WebKit::WebString& key_path,
- bool unique,
- bool multi_entry,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
- // Transfers ownership of the WebIDBIndex to the caller.
- virtual WebKit::WebIDBIndex* index(const WebKit::WebString& name,
- WebKit::WebExceptionCode& ec);
- virtual void deleteIndex(const WebKit::WebString& name,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
-
- virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range,
- unsigned short direction,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
-
- virtual void count(const WebKit::WebIDBKeyRange& idb_key_range,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
-
- private:
- int32 idb_object_store_id_;
-};
-
-#endif // CONTENT_RENDERER_INDEXED_DB_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698