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

Side by Side Diff: third_party/WebKit/Source/core/frame/SubresourceIntegrity.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 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 // 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 "core/frame/SubresourceIntegrity.h" 5 #include "core/frame/SubresourceIntegrity.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/Element.h" 9 #include "core/dom/Element.h"
10 #include "core/dom/ExecutionContext.h" 10 #include "core/dom/ExecutionContext.h"
11 #include "core/fetch/Resource.h"
12 #include "core/frame/UseCounter.h" 11 #include "core/frame/UseCounter.h"
13 #include "core/inspector/ConsoleMessage.h" 12 #include "core/inspector/ConsoleMessage.h"
14 #include "platform/Crypto.h" 13 #include "platform/Crypto.h"
14 #include "platform/loader/fetch/Resource.h"
15 #include "platform/weborigin/KURL.h" 15 #include "platform/weborigin/KURL.h"
16 #include "platform/weborigin/SecurityOrigin.h" 16 #include "platform/weborigin/SecurityOrigin.h"
17 #include "public/platform/WebCrypto.h" 17 #include "public/platform/WebCrypto.h"
18 #include "public/platform/WebCryptoAlgorithm.h" 18 #include "public/platform/WebCryptoAlgorithm.h"
19 #include "wtf/ASCIICType.h" 19 #include "wtf/ASCIICType.h"
20 #include "wtf/Vector.h" 20 #include "wtf/Vector.h"
21 #include "wtf/dtoa/utils.h" 21 #include "wtf/dtoa/utils.h"
22 #include "wtf/text/Base64.h" 22 #include "wtf/text/Base64.h"
23 #include "wtf/text/ParsingUtilities.h" 23 #include "wtf/text/ParsingUtilities.h"
24 #include "wtf/text/StringUTF8Adaptor.h" 24 #include "wtf/text/StringUTF8Adaptor.h"
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 metadataSet.add(integrityMetadata.toPair()); 418 metadataSet.add(integrityMetadata.toPair());
419 } 419 }
420 420
421 if (metadataSet.size() == 0 && error) 421 if (metadataSet.size() == 0 && error)
422 return IntegrityParseNoValidResult; 422 return IntegrityParseNoValidResult;
423 423
424 return IntegrityParseValidResult; 424 return IntegrityParseValidResult;
425 } 425 }
426 426
427 } // namespace blink 427 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698