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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

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 | « third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // hash must have been generated by calling VisitedLinkHash(). 244 // hash must have been generated by calling VisitedLinkHash().
245 virtual bool isLinkVisited(unsigned long long linkHash) { return false; } 245 virtual bool isLinkVisited(unsigned long long linkHash) { return false; }
246 246
247 247
248 // Keygen -------------------------------------------------------------- 248 // Keygen --------------------------------------------------------------
249 249
250 // Handle the <keygen> tag for generating client certificates 250 // Handle the <keygen> tag for generating client certificates
251 // Returns a base64 encoded signed copy of a public key from a newly 251 // Returns a base64 encoded signed copy of a public key from a newly
252 // generated key pair and the supplied challenge string. keySizeindex 252 // generated key pair and the supplied challenge string. keySizeindex
253 // specifies the strength of the key. 253 // specifies the strength of the key.
254 virtual WebString signedPublicKeyAndChallengeString(unsigned keySizeIndex, 254 virtual WebString signedPublicKeyAndChallengeString(
255 const WebString& challen ge, 255 unsigned keySizeIndex, const WebString& challenge, const WebURL& url, co nst WebURL& topOrigin)
256 const WebURL& url) { ret urn WebString(); } 256 {
257 257 return WebString();
258 }
258 259
259 // Memory -------------------------------------------------------------- 260 // Memory --------------------------------------------------------------
260 261
261 // Returns the current space allocated for the pagefile, in MB. 262 // Returns the current space allocated for the pagefile, in MB.
262 // That is committed size for Windows and virtual memory size for POSIX 263 // That is committed size for Windows and virtual memory size for POSIX
263 virtual size_t memoryUsageMB() { return 0; } 264 virtual size_t memoryUsageMB() { return 0; }
264 265
265 // Same as above, but always returns actual value, without any caches. 266 // Same as above, but always returns actual value, without any caches.
266 virtual size_t actualMemoryUsageMB() { return 0; } 267 virtual size_t actualMemoryUsageMB() { return 0; }
267 268
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 protected: 745 protected:
745 BLINK_PLATFORM_EXPORT Platform(); 746 BLINK_PLATFORM_EXPORT Platform();
746 virtual ~Platform() { } 747 virtual ~Platform() { }
747 748
748 WebThread* m_mainThread; 749 WebThread* m_mainThread;
749 }; 750 };
750 751
751 } // namespace blink 752 } // namespace blink
752 753
753 #endif 754 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698