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

Side by Side Diff: components/webcrypto/status.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « components/webcrypto/jwk.cc ('k') | components/webcrypto/webcrypto_impl.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_WEBCRYPTO_STATUS_H_ 5 #ifndef COMPONENTS_WEBCRYPTO_STATUS_H_
6 #define COMPONENTS_WEBCRYPTO_STATUS_H_ 6 #define COMPONENTS_WEBCRYPTO_STATUS_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 #include "third_party/WebKit/public/platform/WebCrypto.h" 11 #include "third_party/WebKit/public/platform/WebCrypto.h"
10 12
11 namespace webcrypto { 13 namespace webcrypto {
12 14
13 // Status indicates whether an operation completed successfully, or with an 15 // Status indicates whether an operation completed successfully, or with an
14 // error. The error is used for verification in unit-tests, as well as for 16 // error. The error is used for verification in unit-tests, as well as for
15 // display to the user. 17 // display to the user.
16 // 18 //
17 // As such, it is important that errors DO NOT reveal any sensitive material 19 // As such, it is important that errors DO NOT reveal any sensitive material
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 explicit Status(Type type); 281 explicit Status(Type type);
280 282
281 Type type_; 283 Type type_;
282 blink::WebCryptoErrorType error_type_; 284 blink::WebCryptoErrorType error_type_;
283 std::string error_details_; 285 std::string error_details_;
284 }; 286 };
285 287
286 } // namespace webcrypto 288 } // namespace webcrypto
287 289
288 #endif // COMPONENTS_WEBCRYPTO_STATUS_H_ 290 #endif // COMPONENTS_WEBCRYPTO_STATUS_H_
OLDNEW
« no previous file with comments | « components/webcrypto/jwk.cc ('k') | components/webcrypto/webcrypto_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698