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

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: Fix origin check. 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
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& topURL)
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 protected: 748 protected:
748 BLINK_PLATFORM_EXPORT Platform(); 749 BLINK_PLATFORM_EXPORT Platform();
749 virtual ~Platform() { } 750 virtual ~Platform() { }
750 751
751 WebThread* m_mainThread; 752 WebThread* m_mainThread;
752 }; 753 };
753 754
754 } // namespace blink 755 } // namespace blink
755 756
756 #endif 757 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698