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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « public/platform/WebCrypto.h ('k') | public/platform/WebCryptoAlgorithmParams.h » ('j') | 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) 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 20 matching lines...) Expand all
31 #ifndef WebCryptoAlgorithm_h 31 #ifndef WebCryptoAlgorithm_h
32 #define WebCryptoAlgorithm_h 32 #define WebCryptoAlgorithm_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebPrivatePtr.h" 35 #include "WebPrivatePtr.h"
36 36
37 #if INSIDE_BLINK 37 #if INSIDE_BLINK
38 #include "wtf/PassOwnPtr.h" 38 #include "wtf/PassOwnPtr.h"
39 #endif 39 #endif
40 40
41 namespace WebKit { 41 namespace blink {
42 42
43 enum WebCryptoAlgorithmId { 43 enum WebCryptoAlgorithmId {
44 WebCryptoAlgorithmIdAesCbc, 44 WebCryptoAlgorithmIdAesCbc,
45 WebCryptoAlgorithmIdHmac, 45 WebCryptoAlgorithmIdHmac,
46 WebCryptoAlgorithmIdRsaSsaPkcs1v1_5, 46 WebCryptoAlgorithmIdRsaSsaPkcs1v1_5,
47 WebCryptoAlgorithmIdRsaEsPkcs1v1_5, 47 WebCryptoAlgorithmIdRsaEsPkcs1v1_5,
48 WebCryptoAlgorithmIdSha1, 48 WebCryptoAlgorithmIdSha1,
49 WebCryptoAlgorithmIdSha224, 49 WebCryptoAlgorithmIdSha224,
50 WebCryptoAlgorithmIdSha256, 50 WebCryptoAlgorithmIdSha256,
51 WebCryptoAlgorithmIdSha384, 51 WebCryptoAlgorithmIdSha384,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 BLINK_PLATFORM_EXPORT const WebCryptoAesGcmParams* aesGcmParams() const; 124 BLINK_PLATFORM_EXPORT const WebCryptoAesGcmParams* aesGcmParams() const;
125 BLINK_PLATFORM_EXPORT const WebCryptoRsaOaepParams* rsaOaepParams() const; 125 BLINK_PLATFORM_EXPORT const WebCryptoRsaOaepParams* rsaOaepParams() const;
126 126
127 private: 127 private:
128 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other); 128 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other);
129 BLINK_PLATFORM_EXPORT void reset(); 129 BLINK_PLATFORM_EXPORT void reset();
130 130
131 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; 131 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private;
132 }; 132 };
133 133
134 } // namespace WebKit 134 } // namespace blink
135 135
136 #endif 136 #endif
OLDNEW
« no previous file with comments | « public/platform/WebCrypto.h ('k') | public/platform/WebCryptoAlgorithmParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698