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

Side by Side Diff: content/child/webcrypto/jwk.cc

Issue 188203003: Move webcrypto to child/ and add support to worker_webkitplatformsupport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes to gypis Created 6 years, 9 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 | « content/child/webcrypto/crypto_data.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <algorithm> 5 #include <algorithm>
6 #include <functional> 6 #include <functional>
7 #include <map> 7 #include <map>
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "content/renderer/webcrypto/crypto_data.h" 14 #include "content/child/webcrypto/crypto_data.h"
15 #include "content/renderer/webcrypto/platform_crypto.h" 15 #include "content/child/webcrypto/platform_crypto.h"
16 #include "content/renderer/webcrypto/shared_crypto.h" 16 #include "content/child/webcrypto/shared_crypto.h"
17 #include "content/renderer/webcrypto/webcrypto_util.h" 17 #include "content/child/webcrypto/webcrypto_util.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 namespace webcrypto { 21 namespace webcrypto {
22 22
23 namespace { 23 namespace {
24 24
25 typedef blink::WebCryptoAlgorithm (*AlgorithmCreationFunc)(); 25 typedef blink::WebCryptoAlgorithm (*AlgorithmCreationFunc)();
26 26
27 class JwkAlgorithmInfo { 27 class JwkAlgorithmInfo {
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 } else { 545 } else {
546 return Status::ErrorJwkUnrecognizedKty(); 546 return Status::ErrorJwkUnrecognizedKty();
547 } 547 }
548 548
549 return Status::Success(); 549 return Status::Success();
550 } 550 }
551 551
552 } // namespace webcrypto 552 } // namespace webcrypto
553 553
554 } // namespace content 554 } // namespace content
OLDNEW
« no previous file with comments | « content/child/webcrypto/crypto_data.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698