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

Unified Diff: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc

Issue 10272018: Move IndexedDBKey, IndexedDBKeyRange into content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use "using content::*" aliasing for IDB/SSV types Created 8 years, 8 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 | « no previous file | content/browser/in_process_webkit/indexed_db_callbacks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
diff --git a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
index e62f3d636a94fee4a223784394d7800e1f392d80..fdbec8cf422eabedaa1846dac122b0092be247a6 100644
--- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
+++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
@@ -17,6 +17,10 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
#include "webkit/glue/webkit_glue.h"
+using content::IndexedDBKey;
+using content::IndexedDBKeyPath;
+using content::SerializedScriptValue;
+
BrowserWebKitPlatformSupportImpl::BrowserWebKitPlatformSupportImpl() {
file_utilities_.set_sandbox_enabled(false);
}
@@ -134,16 +138,16 @@ BrowserWebKitPlatformSupportImpl::createIDBKeysFromSerializedValuesAndKeyPath(
const WebKit::WebIDBKeyPath& keyPath,
WebKit::WebVector<WebKit::WebIDBKey>& keys) {
- std::vector<content::SerializedScriptValue> std_values;
+ std::vector<SerializedScriptValue> std_values;
size_t size = values.size();
std_values.reserve(size);
for (size_t i = 0; i < size; ++i)
- std_values.push_back(content::SerializedScriptValue(values[i]));
+ std_values.push_back(SerializedScriptValue(values[i]));
std::vector<IndexedDBKey> std_keys;
IndexedDBKeyUtilityClient::
CreateIDBKeysFromSerializedValuesAndKeyPath(
- std_values, content::IndexedDBKeyPath(keyPath), &std_keys);
+ std_values, IndexedDBKeyPath(keyPath), &std_keys);
keys = std_keys;
}
@@ -153,8 +157,8 @@ BrowserWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue(
const WebKit::WebIDBKey& key, const WebKit::WebSerializedScriptValue& value,
const WebKit::WebIDBKeyPath& keyPath) {
return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue(
- IndexedDBKey(key), content::SerializedScriptValue(value),
- content::IndexedDBKeyPath(keyPath));
+ IndexedDBKey(key), SerializedScriptValue(value),
+ IndexedDBKeyPath(keyPath));
}
GpuChannelHostFactory*
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698