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

Side by Side Diff: third_party/WebKit/Source/modules/crypto/SubtleCrypto.h

Issue 2392443007: reflow comments in modules/[app_banner,encoding] (Closed)
Patch Set: Created 4 years, 2 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 CryptoKey*, 58 CryptoKey*,
59 const BufferSource&); 59 const BufferSource&);
60 ScriptPromise decrypt(ScriptState*, 60 ScriptPromise decrypt(ScriptState*,
61 const AlgorithmIdentifier&, 61 const AlgorithmIdentifier&,
62 CryptoKey*, 62 CryptoKey*,
63 const BufferSource&); 63 const BufferSource&);
64 ScriptPromise sign(ScriptState*, 64 ScriptPromise sign(ScriptState*,
65 const AlgorithmIdentifier&, 65 const AlgorithmIdentifier&,
66 CryptoKey*, 66 CryptoKey*,
67 const BufferSource&); 67 const BufferSource&);
68 // Note that this is not named "verify" because when compiling on Mac that exp ands to a macro and breaks. 68 // Note that this is not named "verify" because when compiling on Mac that
69 // expands to a macro and breaks.
69 ScriptPromise verifySignature(ScriptState*, 70 ScriptPromise verifySignature(ScriptState*,
70 const AlgorithmIdentifier&, 71 const AlgorithmIdentifier&,
71 CryptoKey*, 72 CryptoKey*,
72 const BufferSource& signature, 73 const BufferSource& signature,
73 const BufferSource& data); 74 const BufferSource& data);
74 ScriptPromise digest(ScriptState*, 75 ScriptPromise digest(ScriptState*,
75 const AlgorithmIdentifier&, 76 const AlgorithmIdentifier&,
76 const BufferSource& data); 77 const BufferSource& data);
77 78
78 ScriptPromise generateKey(ScriptState*, 79 ScriptPromise generateKey(ScriptState*,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 115
115 DEFINE_INLINE_TRACE() {} 116 DEFINE_INLINE_TRACE() {}
116 117
117 private: 118 private:
118 SubtleCrypto(); 119 SubtleCrypto();
119 }; 120 };
120 121
121 } // namespace blink 122 } // namespace blink
122 123
123 #endif // SubtleCrypto_h 124 #endif // SubtleCrypto_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698