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

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

Issue 18033004: WebCrypto: Add WebKit API structure for keys. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 85 }
86 86
87 WEBKIT_EXPORT WebCryptoAlgorithmId algorithmId() const; 87 WEBKIT_EXPORT WebCryptoAlgorithmId algorithmId() const;
88 WEBKIT_EXPORT const char* algorithmName() const; 88 WEBKIT_EXPORT const char* algorithmName() const;
89 89
90 WEBKIT_EXPORT WebCryptoAlgorithmParamsType paramsType() const; 90 WEBKIT_EXPORT WebCryptoAlgorithmParamsType paramsType() const;
91 91
92 // Retrieves the type-specific parameters. The algorithm contains at most 1 92 // Retrieves the type-specific parameters. The algorithm contains at most 1
93 // type of parameters. Retrieving an invalid parameter will return 0. 93 // type of parameters. Retrieving an invalid parameter will return 0.
94 WebCryptoAesCbcParams* aesCbcParams() const; 94 WebCryptoAesCbcParams* aesCbcParams() const;
95 WebCryptoAesKeyGenParams* aesKeyGenParams() const; 95 WebCryptoAesKeyGenParams* aesKeyGenParams() const;
abarth-chromium 2013/07/03 18:01:41 Don't you need to add WEBKIT_EXPORT here?
eroman 2013/07/03 19:18:06 Done.
96 96
97 private: 97 private:
98 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other); 98 void assign(const WebCryptoAlgorithm& other);
99 WEBKIT_EXPORT void reset(); 99 void reset();
abarth-chromium 2013/07/03 18:01:41 WHy did you remove these WEBKIT_EXPORT macros? Th
eroman 2013/07/03 19:18:06 Done. Sorry, I got confused on what WEBKIT_EXPORT
100 100
101 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; 101 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private;
102 }; 102 };
103 103
104 } // namespace WebKit 104 } // namespace WebKit
105 105
106 #endif 106 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698