OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/child/blink_platform_impl.h" | 5 #include "content/child/blink_platform_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 long long BlinkPlatformImpl::databaseGetFileSize( | 1112 long long BlinkPlatformImpl::databaseGetFileSize( |
1113 const blink::WebString& vfs_file_name) { | 1113 const blink::WebString& vfs_file_name) { |
1114 return 0; | 1114 return 0; |
1115 } | 1115 } |
1116 | 1116 |
1117 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( | 1117 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( |
1118 const blink::WebString& origin_identifier) { | 1118 const blink::WebString& origin_identifier) { |
1119 return 0; | 1119 return 0; |
1120 } | 1120 } |
1121 | 1121 |
| 1122 bool BlinkPlatformImpl::databaseSetFileSize( |
| 1123 const blink::WebString& vfs_file_name, long long size) { |
| 1124 return false; |
| 1125 } |
| 1126 |
1122 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( | 1127 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( |
1123 unsigned key_size_index, | 1128 unsigned key_size_index, |
1124 const blink::WebString& challenge, | 1129 const blink::WebString& challenge, |
1125 const blink::WebURL& url) { | 1130 const blink::WebURL& url) { |
1126 return blink::WebString(""); | 1131 return blink::WebString(""); |
1127 } | 1132 } |
1128 | 1133 |
1129 static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() { | 1134 static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() { |
1130 using base::ProcessMetrics; | 1135 using base::ProcessMetrics; |
1131 #if defined(OS_MACOSX) | 1136 #if defined(OS_MACOSX) |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( | 1243 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( |
1239 static_cast<ui::DomCode>(dom_code))); | 1244 static_cast<ui::DomCode>(dom_code))); |
1240 } | 1245 } |
1241 | 1246 |
1242 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { | 1247 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { |
1243 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( | 1248 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( |
1244 code.utf8().data())); | 1249 code.utf8().data())); |
1245 } | 1250 } |
1246 | 1251 |
1247 } // namespace content | 1252 } // namespace content |
OLD | NEW |