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

Unified Diff: components/webcrypto/generate_key_result.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/generate_key_result.h
diff --git a/content/child/webcrypto/generate_key_result.h b/components/webcrypto/generate_key_result.h
similarity index 92%
rename from content/child/webcrypto/generate_key_result.h
rename to components/webcrypto/generate_key_result.h
index fcc13f808555c3086d4cf7f0d0331cb418475710..8cc961efc149bf74e972ac03f47a41c218c34f0f 100644
--- a/content/child/webcrypto/generate_key_result.h
+++ b/components/webcrypto/generate_key_result.h
@@ -5,16 +5,15 @@
#ifndef CONTENT_CHILD_WEBCRYPTO_GENERATE_KEY_RESULT_H_
#define CONTENT_CHILD_WEBCRYPTO_GENERATE_KEY_RESULT_H_
-#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebCrypto.h"
-namespace content {
+namespace components {
namespace webcrypto {
// This is the result object when generating keys. It encapsulates either a
// secret key, or a public/private key pair.
-class CONTENT_EXPORT GenerateKeyResult {
+class GenerateKeyResult {
public:
enum Type {
// An empty (or "null") result.
@@ -55,6 +54,6 @@ class CONTENT_EXPORT GenerateKeyResult {
} // namespace webcrypto
-} // namespace content
+} // namespace components
#endif // CONTENT_CHILD_WEBCRYPTO_GENERATE_KEY_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698