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

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

Issue 23672024: Remove a deprecated method from WebCrypto. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp ('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) 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // * Immutable 79 // * Immutable
80 // * Threadsafe 80 // * Threadsafe
81 // * Copiable (cheaply) 81 // * Copiable (cheaply)
82 class WebCryptoAlgorithm { 82 class WebCryptoAlgorithm {
83 public: 83 public:
84 #if WEBKIT_IMPLEMENTATION 84 #if WEBKIT_IMPLEMENTATION
85 WebCryptoAlgorithm() { } 85 WebCryptoAlgorithm() { }
86 WebCryptoAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoAlgorithmParams >); 86 WebCryptoAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoAlgorithmParams >);
87 #endif 87 #endif
88 88
89 // FIXME: delete this once no longer used
90 WEBKIT_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgori thmId, const char*, WebCryptoAlgorithmParams*);
91
92 WEBKIT_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgori thmId, WebCryptoAlgorithmParams*); 89 WEBKIT_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgori thmId, WebCryptoAlgorithmParams*);
93 90
94 ~WebCryptoAlgorithm() { reset(); } 91 ~WebCryptoAlgorithm() { reset(); }
95 92
96 WebCryptoAlgorithm(const WebCryptoAlgorithm& other) { assign(other); } 93 WebCryptoAlgorithm(const WebCryptoAlgorithm& other) { assign(other); }
97 WebCryptoAlgorithm& operator=(const WebCryptoAlgorithm& other) 94 WebCryptoAlgorithm& operator=(const WebCryptoAlgorithm& other)
98 { 95 {
99 assign(other); 96 assign(other);
100 return *this; 97 return *this;
101 } 98 }
(...skipping 14 matching lines...) Expand all
116 private: 113 private:
117 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other); 114 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other);
118 WEBKIT_EXPORT void reset(); 115 WEBKIT_EXPORT void reset();
119 116
120 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; 117 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private;
121 }; 118 };
122 119
123 } // namespace WebKit 120 } // namespace WebKit
124 121
125 #endif 122 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698