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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 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 CryptoResultImpl_h 31 #ifndef CryptoResultImpl_h
32 #define CryptoResultImpl_h 32 #define CryptoResultImpl_h
33 33
34 #include "bindings/core/v8/ScriptPromise.h" 34 #include "bindings/core/v8/ScriptPromise.h"
35 #include "core/dom/ExceptionCode.h" 35 #include "core/dom/ExceptionCode.h"
36 #include "modules/ModulesExport.h" 36 #include "modules/ModulesExport.h"
37 #include "platform/CryptoResult.h" 37 #include "platform/CryptoResult.h"
38 #include "platform/wtf/Forward.h"
38 #include "public/platform/WebCrypto.h" 39 #include "public/platform/WebCrypto.h"
39 #include "wtf/Forward.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 MODULES_EXPORT ExceptionCode WebCryptoErrorToExceptionCode(WebCryptoErrorType); 43 MODULES_EXPORT ExceptionCode WebCryptoErrorToExceptionCode(WebCryptoErrorType);
44 44
45 // Wrapper around a Promise to notify completion of the crypto operation. 45 // Wrapper around a Promise to notify completion of the crypto operation.
46 // 46 //
47 // The thread on which CryptoResultImpl was created on is referred to as the 47 // The thread on which CryptoResultImpl was created on is referred to as the
48 // "origin thread". 48 // "origin thread".
49 // 49 //
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // all been processed. Hence these webcrypto operations cannot reliably 108 // all been processed. Hence these webcrypto operations cannot reliably
109 // check cancellation status via this result object. So, keep a separate 109 // check cancellation status via this result object. So, keep a separate
110 // cancellation status object for the purpose, which will outlive the 110 // cancellation status object for the purpose, which will outlive the
111 // result object and can be safely accessed by multiple threads. 111 // result object and can be safely accessed by multiple threads.
112 RefPtr<ResultCancel> cancel_; 112 RefPtr<ResultCancel> cancel_;
113 }; 113 };
114 114
115 } // namespace blink 115 } // namespace blink
116 116
117 #endif // CryptoResultImpl_h 117 #endif // CryptoResultImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/crypto/CryptoKey.h ('k') | third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698