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

Side by Side Diff: content/child/blink_platform_impl.cc

Issue 1006423008: Add SetFileSize() IPC for WebSQL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary IPC_MESSAGE_HANDLER_DELAY_REPLYs, remove unnecessary scoped_refptrs. Created 5 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 unified diff | Download patch
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/database_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 long long BlinkPlatformImpl::databaseGetFileSize( 1124 long long BlinkPlatformImpl::databaseGetFileSize(
1125 const blink::WebString& vfs_file_name) { 1125 const blink::WebString& vfs_file_name) {
1126 return 0; 1126 return 0;
1127 } 1127 }
1128 1128
1129 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( 1129 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin(
1130 const blink::WebString& origin_identifier) { 1130 const blink::WebString& origin_identifier) {
1131 return 0; 1131 return 0;
1132 } 1132 }
1133 1133
1134 bool BlinkPlatformImpl::databaseSetFileSize(
1135 const blink::WebString& vfs_file_name, long long size) {
1136 return false;
1137 }
1138
1134 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( 1139 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString(
1135 unsigned key_size_index, 1140 unsigned key_size_index,
1136 const blink::WebString& challenge, 1141 const blink::WebString& challenge,
1137 const blink::WebURL& url) { 1142 const blink::WebURL& url) {
1138 return blink::WebString(""); 1143 return blink::WebString("");
1139 } 1144 }
1140 1145
1141 static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() { 1146 static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() {
1142 using base::ProcessMetrics; 1147 using base::ProcessMetrics;
1143 #if defined(OS_MACOSX) 1148 #if defined(OS_MACOSX)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( 1260 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString(
1256 static_cast<ui::DomCode>(dom_code))); 1261 static_cast<ui::DomCode>(dom_code)));
1257 } 1262 }
1258 1263
1259 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { 1264 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) {
1260 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( 1265 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode(
1261 code.utf8().data())); 1266 code.utf8().data()));
1262 } 1267 }
1263 1268
1264 } // namespace content 1269 } // namespace content
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/database_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698