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

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: Using top-level dURL. Created 5 years 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 virtual bool isLinkVisited(unsigned long long linkHash) { return false; } 243 virtual bool isLinkVisited(unsigned long long linkHash) { return false; }
244 244
245 245
246 // Keygen -------------------------------------------------------------- 246 // Keygen --------------------------------------------------------------
247 247
248 // Handle the <keygen> tag for generating client certificates 248 // Handle the <keygen> tag for generating client certificates
249 // Returns a base64 encoded signed copy of a public key from a newly 249 // Returns a base64 encoded signed copy of a public key from a newly
250 // generated key pair and the supplied challenge string. keySizeindex 250 // generated key pair and the supplied challenge string. keySizeindex
251 // specifies the strength of the key. 251 // specifies the strength of the key.
252 virtual WebString signedPublicKeyAndChallengeString(unsigned keySizeIndex, 252 virtual WebString signedPublicKeyAndChallengeString(unsigned keySizeIndex,
253 const WebString& challen ge, 253 const WebString& challenge,
254 const WebURL& url) { ret urn WebString(); } 254 const WebURL& url,
255 255 const WebURL& parentURL)
256 {
257 return WebString();
258 }
256 259
257 // Memory -------------------------------------------------------------- 260 // Memory --------------------------------------------------------------
258 261
259 // Returns the current space allocated for the pagefile, in MB. 262 // Returns the current space allocated for the pagefile, in MB.
260 // 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
261 virtual size_t memoryUsageMB() { return 0; } 264 virtual size_t memoryUsageMB() { return 0; }
262 265
263 // Same as above, but always returns actual value, without any caches. 266 // Same as above, but always returns actual value, without any caches.
264 virtual size_t actualMemoryUsageMB() { return 0; } 267 virtual size_t actualMemoryUsageMB() { return 0; }
265 268
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 protected: 740 protected:
738 BLINK_PLATFORM_EXPORT Platform(); 741 BLINK_PLATFORM_EXPORT Platform();
739 virtual ~Platform() { } 742 virtual ~Platform() { }
740 743
741 WebThread* m_mainThread; 744 WebThread* m_mainThread;
742 }; 745 };
743 746
744 } // namespace blink 747 } // namespace blink
745 748
746 #endif 749 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698