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

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

Issue 1476873002: Adding <keygen> Content Setting (Final) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing naming. Created 4 years, 11 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/common/render_process_messages.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 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 } 1213 }
1214 1214
1215 bool BlinkPlatformImpl::databaseSetFileSize( 1215 bool BlinkPlatformImpl::databaseSetFileSize(
1216 const blink::WebString& vfs_file_name, long long size) { 1216 const blink::WebString& vfs_file_name, long long size) {
1217 return false; 1217 return false;
1218 } 1218 }
1219 1219
1220 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( 1220 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString(
1221 unsigned key_size_index, 1221 unsigned key_size_index,
1222 const blink::WebString& challenge, 1222 const blink::WebString& challenge,
1223 const blink::WebURL& url) { 1223 const blink::WebURL& url,
1224 const blink::WebURL& top_origin) {
1224 return blink::WebString(""); 1225 return blink::WebString("");
1225 } 1226 }
1226 1227
1227 static size_t getMemoryUsageMB(bool bypass_cache) { 1228 static size_t getMemoryUsageMB(bool bypass_cache) {
1228 size_t current_mem_usage = 0; 1229 size_t current_mem_usage = 0;
1229 MemoryUsageCache* mem_usage_cache_singleton = MemoryUsageCache::GetInstance(); 1230 MemoryUsageCache* mem_usage_cache_singleton = MemoryUsageCache::GetInstance();
1230 if (!bypass_cache && 1231 if (!bypass_cache &&
1231 mem_usage_cache_singleton->IsCachedValueValid(&current_mem_usage)) 1232 mem_usage_cache_singleton->IsCachedValueValid(&current_mem_usage))
1232 return current_mem_usage; 1233 return current_mem_usage;
1233 1234
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 1307 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
1307 static_cast<ui::DomKey>(dom_key))); 1308 static_cast<ui::DomKey>(dom_key)));
1308 } 1309 }
1309 1310
1310 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 1311 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
1311 return static_cast<int>( 1312 return static_cast<int>(
1312 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 1313 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
1313 } 1314 }
1314 1315
1315 } // namespace content 1316 } // namespace content
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/common/render_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698