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

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

Issue 651503002: Clean up forward declarations in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
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 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
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"
Mike West 2014/10/11 10:53:05 Same here.
37 #include "public/platform/WebCryptoKey.h" 36 #include "public/platform/WebCryptoKey.h"
38 #include "wtf/Forward.h"
Mike West 2014/10/11 10:53:05 Don't we need this to use Vector<> below?
39 #include "wtf/text/WTFString.h"
Mike West 2014/10/11 10:53:05 This file uses String. Why remove the header?
40 37
41 namespace blink { 38 namespace blink {
42 39
43 class CryptoResult; 40 class CryptoResult;
44 class KeyAlgorithm;
45 41
46 class CryptoKey : public GarbageCollectedFinalized<CryptoKey>, public ScriptWrap pable { 42 class CryptoKey : public GarbageCollectedFinalized<CryptoKey>, public ScriptWrap pable {
47 DEFINE_WRAPPERTYPEINFO(); 43 DEFINE_WRAPPERTYPEINFO();
48 public: 44 public:
49 static CryptoKey* create(const WebCryptoKey& key) 45 static CryptoKey* create(const WebCryptoKey& key)
50 { 46 {
51 return new CryptoKey(key); 47 return new CryptoKey(key);
52 } 48 }
53 49
54 ~CryptoKey(); 50 ~CryptoKey();
(...skipping 16 matching lines...) Expand all
71 67
72 protected: 68 protected:
73 explicit CryptoKey(const WebCryptoKey&); 69 explicit CryptoKey(const WebCryptoKey&);
74 70
75 const WebCryptoKey m_key; 71 const WebCryptoKey m_key;
76 }; 72 };
77 73
78 } // namespace blink 74 } // namespace blink
79 75
80 #endif // CryptoKey_h 76 #endif // CryptoKey_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698