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

Unified Diff: webkit/glue/idb_bindings.cc

Issue 10834350: Remove all the indexeddb-related utility process code (Closed) Base URL: http://git.chromium.org/chromium/src.git@opencursor-cleanup
Patch Set: Rebase, attempt to reland Created 8 years, 4 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
« no previous file with comments | « webkit/glue/idb_bindings.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/idb_bindings.cc
diff --git a/webkit/glue/idb_bindings.cc b/webkit/glue/idb_bindings.cc
deleted file mode 100644
index 57b8eb4c461a42bfa4c358c45b541bf04608523c..0000000000000000000000000000000000000000
--- a/webkit/glue/idb_bindings.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "webkit/glue/idb_bindings.h"
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/utf_string_conversions.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
-
-namespace webkit_glue {
-
-using WebKit::WebIDBKey;
-using WebKit::WebIDBKeyPath;
-using WebKit::WebSerializedScriptValue;
-using WebKit::WebString;
-
-void IDBKeysFromValuesAndKeyPath(
- const std::vector<WebSerializedScriptValue>& serialized_script_values,
- const WebIDBKeyPath& idb_key_path,
- std::vector<WebIDBKey>* values) {
- for (std::vector<WebSerializedScriptValue>::const_iterator i =
- serialized_script_values.begin();
- i != serialized_script_values.end(); ++i) {
- values->push_back(
- WebIDBKey::createFromValueAndKeyPath(*i, idb_key_path));
- }
-}
-
-WebSerializedScriptValue InjectIDBKey(
- const WebIDBKey& key,
- const WebSerializedScriptValue& value,
- const WebIDBKeyPath& idb_key_path) {
- return WebIDBKey::injectIDBKeyIntoSerializedValue(
- key, value, idb_key_path);
-}
-
-} // namespace webkit_glue
« no previous file with comments | « webkit/glue/idb_bindings.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698