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_webkitplatformsupport_impl.h
" | 5 #include "content/browser/in_process_webkit/browser_webkitplatformsupport_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 "content/browser/in_process_webkit/dom_storage_message_filter.h" | 9 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" |
10 #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" | 11 #include "content/common/indexed_db_key.h" |
12 #include "content/public/common/serialized_script_value.h" | 12 #include "content/public/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/platform/WebData.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
17 #include "webkit/glue/webkit_glue.h" | 17 #include "webkit/glue/webkit_glue.h" |
18 | 18 |
19 BrowserWebKitPlatformSupportImpl::BrowserWebKitPlatformSupportImpl() { | 19 BrowserWebKitPlatformSupportImpl::BrowserWebKitPlatformSupportImpl() { |
20 file_utilities_.set_sandbox_enabled(false); | 20 file_utilities_.set_sandbox_enabled(false); |
21 } | 21 } |
22 | 22 |
23 BrowserWebKitPlatformSupportImpl::~BrowserWebKitPlatformSupportImpl() { | 23 BrowserWebKitPlatformSupportImpl::~BrowserWebKitPlatformSupportImpl() { |
24 } | 24 } |
25 | 25 |
26 WebKit::WebClipboard* BrowserWebKitPlatformSupportImpl::clipboard() { | 26 WebKit::WebClipboard* BrowserWebKitPlatformSupportImpl::clipboard() { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 keys = std_keys; | 169 keys = std_keys; |
170 } | 170 } |
171 | 171 |
172 WebKit::WebSerializedScriptValue | 172 WebKit::WebSerializedScriptValue |
173 BrowserWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue( | 173 BrowserWebKitPlatformSupportImpl::injectIDBKeyIntoSerializedValue( |
174 const WebKit::WebIDBKey& key, const WebKit::WebSerializedScriptValue& value, | 174 const WebKit::WebIDBKey& key, const WebKit::WebSerializedScriptValue& value, |
175 const WebKit::WebString& keyPath) { | 175 const WebKit::WebString& keyPath) { |
176 return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue( | 176 return IndexedDBKeyUtilityClient::InjectIDBKeyIntoSerializedValue( |
177 IndexedDBKey(key), content::SerializedScriptValue(value), keyPath); | 177 IndexedDBKey(key), content::SerializedScriptValue(value), keyPath); |
178 } | 178 } |
OLD | NEW |