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

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

Issue 19082002: WebCrypto: Add SHA-1 support to crypto.subtle.digest(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: don't hold a ScriptObject Created 7 years, 5 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 | Annotate | Revision Log
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class GrContext; 48 class GrContext;
49 49
50 namespace WebKit { 50 namespace WebKit {
51 51
52 class WebAudioBus; 52 class WebAudioBus;
53 class WebBlobRegistry; 53 class WebBlobRegistry;
54 class WebContentDecryptionModule; 54 class WebContentDecryptionModule;
55 class WebClipboard; 55 class WebClipboard;
56 class WebCompositorSupport; 56 class WebCompositorSupport;
57 class WebCookieJar; 57 class WebCookieJar;
58 class WebCrypto;
58 class WebDeviceMotionListener; 59 class WebDeviceMotionListener;
59 class WebDiscardableMemory; 60 class WebDiscardableMemory;
60 class WebFallbackThemeEngine; 61 class WebFallbackThemeEngine;
61 class WebFileSystem; 62 class WebFileSystem;
62 class WebFileUtilities; 63 class WebFileUtilities;
63 class WebFlingAnimator; 64 class WebFlingAnimator;
64 class WebGestureCurveTarget; 65 class WebGestureCurveTarget;
65 class WebGestureCurve; 66 class WebGestureCurve;
66 class WebGraphicsContext3DProvider; 67 class WebGraphicsContext3DProvider;
67 class WebHyphenator; 68 class WebHyphenator;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 536
536 // WebRTC ---------------------------------------------------------- 537 // WebRTC ----------------------------------------------------------
537 538
538 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. 539 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
539 // May return null if WebRTC functionality is not avaliable or out of resour ces. 540 // May return null if WebRTC functionality is not avaliable or out of resour ces.
540 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return 0; } 541 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return 0; }
541 542
542 // May return null if WebRTC functionality is not avaliable or out of resour ces. 543 // May return null if WebRTC functionality is not avaliable or out of resour ces.
543 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } 544 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; }
544 545
545
abarth-chromium 2013/07/12 16:58:31 We're actually supposed to have two blank lines be
eroman 2013/07/12 20:38:19 Done. I updated the other inconsistencies in this
546 // WebWorker ---------------------------------------------------------- 546 // WebWorker ----------------------------------------------------------
547 547
548 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } 548 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
549 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } 549 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
550 550
551 // WebCrypto ----------------------------------------------------------
552
553 // May return 0.
554 virtual WebCrypto* crypto() { return 0; }
551 555
552 // Device Motion / Orientation ---------------------------------------- 556 // Device Motion / Orientation ----------------------------------------
553 557
554 // Sets a Listener to listen for device motion data updates. 558 // Sets a Listener to listen for device motion data updates.
555 // If null, the platform stops providing device motion data to the current l istener. 559 // If null, the platform stops providing device motion data to the current l istener.
556 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } 560 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { }
557 561
558 protected: 562 protected:
559 virtual ~Platform() { } 563 virtual ~Platform() { }
560 }; 564 };
561 565
562 } // namespace WebKit 566 } // namespace WebKit
563 567
564 #endif 568 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698