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

Side by Side Diff: Source/modules/crypto/CryptoKey.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/crypto/Crypto.cpp ('k') | Source/modules/crypto/CryptoKey.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 20 matching lines...) Expand all
31 #ifndef CryptoKey_h 31 #ifndef CryptoKey_h
32 #define CryptoKey_h 32 #define CryptoKey_h
33 33
34 #include "bindings/core/v8/ScriptWrappable.h" 34 #include "bindings/core/v8/ScriptWrappable.h"
35 #include "modules/crypto/NormalizeAlgorithm.h" 35 #include "modules/crypto/NormalizeAlgorithm.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "public/platform/WebCryptoKey.h" 37 #include "public/platform/WebCryptoKey.h"
38 #include "wtf/Forward.h" 38 #include "wtf/Forward.h"
39 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
40 40
41 namespace WebCore { 41 namespace blink {
42 42
43 class CryptoResult; 43 class CryptoResult;
44 class KeyAlgorithm; 44 class KeyAlgorithm;
45 45
46 class CryptoKey : public GarbageCollectedFinalized<CryptoKey>, public ScriptWrap pable { 46 class CryptoKey : public GarbageCollectedFinalized<CryptoKey>, public ScriptWrap pable {
47 public: 47 public:
48 static CryptoKey* create(const blink::WebCryptoKey& key) 48 static CryptoKey* create(const blink::WebCryptoKey& key)
49 { 49 {
50 return new CryptoKey(key); 50 return new CryptoKey(key);
51 } 51 }
(...skipping 15 matching lines...) Expand all
67 static bool parseUsageMask(const Vector<String>&, blink::WebCryptoKeyUsageMa sk&, CryptoResult*); 67 static bool parseUsageMask(const Vector<String>&, blink::WebCryptoKeyUsageMa sk&, CryptoResult*);
68 68
69 void trace(Visitor*) { } 69 void trace(Visitor*) { }
70 70
71 protected: 71 protected:
72 explicit CryptoKey(const blink::WebCryptoKey&); 72 explicit CryptoKey(const blink::WebCryptoKey&);
73 73
74 const blink::WebCryptoKey m_key; 74 const blink::WebCryptoKey m_key;
75 }; 75 };
76 76
77 } // namespace WebCore 77 } // namespace blink
78 78
79 #endif 79 #endif
OLDNEW
« no previous file with comments | « Source/modules/crypto/Crypto.cpp ('k') | Source/modules/crypto/CryptoKey.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698