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

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: Rebase to ToT 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
« no previous file with comments | « components/webcrypto/crypto_data.cc ('k') | components/webcrypto/generate_key_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 82%
rename from content/child/webcrypto/generate_key_result.h
rename to components/webcrypto/generate_key_result.h
index fcc13f808555c3086d4cf7f0d0331cb418475710..4c2fe203760b5ec96fed819ece692fe9f14ebb10 100644
--- a/content/child/webcrypto/generate_key_result.h
+++ b/components/webcrypto/generate_key_result.h
@@ -2,19 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_WEBCRYPTO_GENERATE_KEY_RESULT_H_
-#define CONTENT_CHILD_WEBCRYPTO_GENERATE_KEY_RESULT_H_
+#ifndef COMPONENTS_WEBCRYPTO_GENERATE_KEY_RESULT_H_
+#define COMPONENTS_WEBCRYPTO_GENERATE_KEY_RESULT_H_
-#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebCrypto.h"
-namespace content {
-
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 +52,4 @@ class CONTENT_EXPORT GenerateKeyResult {
} // namespace webcrypto
-} // namespace content
-
-#endif // CONTENT_CHILD_WEBCRYPTO_GENERATE_KEY_RESULT_H_
+#endif // COMPONENTS_WEBCRYPTO_GENERATE_KEY_RESULT_H_
« no previous file with comments | « components/webcrypto/crypto_data.cc ('k') | components/webcrypto/generate_key_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698