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

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

Issue 1278103002: Oilpan: tidy up some inter-stack object references. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use STACK_ALLOCATED() more often Created 5 years, 4 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 | « Source/modules/webaudio/AudioParam.h ('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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebCryptoKeyAlgorithmParams_h 31 #ifndef WebCryptoKeyAlgorithmParams_h
32 #define WebCryptoKeyAlgorithmParams_h 32 #define WebCryptoKeyAlgorithmParams_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebCryptoAlgorithm.h" 35 #include "WebCryptoAlgorithm.h"
36 #include "WebVector.h" 36 #include "WebVector.h"
37 37
38 #if INSIDE_BLINK
39 #include "platform/heap/Handle.h"
40 #endif
41
38 namespace blink { 42 namespace blink {
39 43
40 // Interface used for serializing WebCryptoKeyAlgorithmParams to a javascript 44 // Interface used for serializing WebCryptoKeyAlgorithmParams to a javascript
41 // dictionary. 45 // dictionary.
42 class WebCryptoKeyAlgorithmDictionary { 46 class WebCryptoKeyAlgorithmDictionary {
47 #if INSIDE_BLINK
48 STACK_ALLOCATED();
49 #endif
43 public: 50 public:
44 virtual ~WebCryptoKeyAlgorithmDictionary() { } 51 virtual ~WebCryptoKeyAlgorithmDictionary() { }
45 52
46 virtual void setString(const char*, const char*) = 0; 53 virtual void setString(const char*, const char*) = 0;
47 virtual void setUint(const char*, unsigned) = 0; 54 virtual void setUint(const char*, unsigned) = 0;
48 virtual void setAlgorithm(const char*, const WebCryptoAlgorithm&) = 0; 55 virtual void setAlgorithm(const char*, const WebCryptoAlgorithm&) = 0;
49 virtual void setUint8Array(const char*, const WebVector<unsigned char>&) = 0 ; 56 virtual void setUint8Array(const char*, const WebVector<unsigned char>&) = 0 ;
50 }; 57 };
51 58
52 enum WebCryptoKeyAlgorithmParamsType { 59 enum WebCryptoKeyAlgorithmParamsType {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } 209 }
203 } 210 }
204 211
205 private: 212 private:
206 const WebCryptoNamedCurve m_namedCurve; 213 const WebCryptoNamedCurve m_namedCurve;
207 }; 214 };
208 215
209 } // namespace blink 216 } // namespace blink
210 217
211 #endif 218 #endif
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioParam.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698