| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/in_process_webkit/browser_webkitclient_impl.h" | 5 #include "content/browser/in_process_webkit/browser_webkitclient_impl.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "chrome/common/indexed_db_key.h" | |
| 10 #include "chrome/common/serialized_script_value.h" | |
| 11 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" | 9 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" |
| 12 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h" | 10 #include "content/browser/in_process_webkit/indexed_db_key_utility_client.h" |
| 11 #include "content/common/indexed_db_key.h" |
| 12 #include "content/common/serialized_script_value.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" |
| 17 #include "webkit/glue/webkit_glue.h" | 17 #include "webkit/glue/webkit_glue.h" |
| 18 | 18 |
| 19 BrowserWebKitClientImpl::BrowserWebKitClientImpl() { | 19 BrowserWebKitClientImpl::BrowserWebKitClientImpl() { |
| 20 file_utilities_.set_sandbox_enabled(false); | 20 file_utilities_.set_sandbox_enabled(false); |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 keys = std_keys; | 166 keys = std_keys; |
| 167 } | 167 } |
| 168 | 168 |
| 169 WebKit::WebSerializedScriptValue | 169 WebKit::WebSerializedScriptValue |
| 170 BrowserWebKitClientImpl::injectIDBKeyIntoSerializedValue( | 170 BrowserWebKitClientImpl::injectIDBKeyIntoSerializedValue( |
| 171 const WebKit::WebIDBKey& key, const WebKit::WebSerializedScriptValue& value, | 171 const WebKit::WebIDBKey& key, const WebKit::WebSerializedScriptValue& value, |
| 172 const WebKit::WebString& keyPath) { | 172 const WebKit::WebString& keyPath) { |
| 173 return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue( | 173 return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue( |
| 174 IndexedDBKey(key), SerializedScriptValue(value), keyPath); | 174 IndexedDBKey(key), SerializedScriptValue(value), keyPath); |
| 175 } | 175 } |
| OLD | NEW |