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

Unified Diff: components/webcrypto/status.h

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Copy the msvs_disabled_warnings to the new target. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/components/webcrypto/status.h
similarity index 98%
rename from content/child/webcrypto/status.h
rename to components/webcrypto/status.h
index a021555f896373427df59699c374724b5242f888..ded9fd89c7fe171b4a74dd0563ac2ad796428584 100644
--- a/content/child/webcrypto/status.h
+++ b/components/webcrypto/status.h
@@ -6,10 +6,9 @@
#define CONTENT_CHILD_WEBCRYPTO_STATUS_H_
#include <string>
-#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebCrypto.h"
-namespace content {
+namespace components {
namespace webcrypto {
@@ -19,7 +18,7 @@ namespace webcrypto {
//
// As such, it is important that errors DO NOT reveal any sensitive material
// (like key bytes).
-class CONTENT_EXPORT Status {
+class Status {
public:
Status() : type_(TYPE_ERROR) {}
@@ -285,6 +284,6 @@ class CONTENT_EXPORT Status {
} // namespace webcrypto
-} // namespace content
+} // namespace components
#endif // CONTENT_CHILD_WEBCRYPTO_STATUS_H_

Powered by Google App Engine
This is Rietveld 408576698