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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/
4 * Copyright (C) 2010 Google Inc. All Rights Reserved. 4 * Copyright (C) 2010 Google Inc. All Rights Reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 #include "core/html/parser/HTMLPreloadScanner.h" 28 #include "core/html/parser/HTMLPreloadScanner.h"
29 29
30 #include "core/HTMLNames.h" 30 #include "core/HTMLNames.h"
31 #include "core/InputTypeNames.h" 31 #include "core/InputTypeNames.h"
32 #include "core/css/MediaList.h" 32 #include "core/css/MediaList.h"
33 #include "core/css/MediaQueryEvaluator.h" 33 #include "core/css/MediaQueryEvaluator.h"
34 #include "core/css/MediaValuesCached.h" 34 #include "core/css/MediaValuesCached.h"
35 #include "core/css/parser/SizesAttributeParser.h" 35 #include "core/css/parser/SizesAttributeParser.h"
36 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
37 #include "core/dom/ScriptLoader.h" 37 #include "core/dom/ScriptLoader.h"
38 #include "core/fetch/IntegrityMetadata.h"
39 #include "core/frame/LocalFrame.h" 38 #include "core/frame/LocalFrame.h"
40 #include "core/frame/Settings.h" 39 #include "core/frame/Settings.h"
41 #include "core/frame/SubresourceIntegrity.h" 40 #include "core/frame/SubresourceIntegrity.h"
42 #include "core/html/CrossOriginAttribute.h" 41 #include "core/html/CrossOriginAttribute.h"
43 #include "core/html/HTMLImageElement.h" 42 #include "core/html/HTMLImageElement.h"
44 #include "core/html/HTMLMetaElement.h" 43 #include "core/html/HTMLMetaElement.h"
45 #include "core/html/LinkRelAttribute.h" 44 #include "core/html/LinkRelAttribute.h"
46 #include "core/html/parser/HTMLParserIdioms.h" 45 #include "core/html/parser/HTMLParserIdioms.h"
47 #include "core/html/parser/HTMLSrcsetParser.h" 46 #include "core/html/parser/HTMLSrcsetParser.h"
48 #include "core/html/parser/HTMLTokenizer.h" 47 #include "core/html/parser/HTMLTokenizer.h"
49 #include "core/loader/LinkLoader.h" 48 #include "core/loader/LinkLoader.h"
50 #include "platform/Histogram.h" 49 #include "platform/Histogram.h"
51 #include "platform/instrumentation/tracing/TraceEvent.h" 50 #include "platform/instrumentation/tracing/TraceEvent.h"
51 #include "platform/loader/fetch/IntegrityMetadata.h"
52 #include "platform/network/mime/ContentType.h" 52 #include "platform/network/mime/ContentType.h"
53 #include "platform/network/mime/MIMETypeRegistry.h" 53 #include "platform/network/mime/MIMETypeRegistry.h"
54 #include "wtf/Optional.h" 54 #include "wtf/Optional.h"
55 #include <memory> 55 #include <memory>
56 56
57 namespace blink { 57 namespace blink {
58 58
59 namespace { 59 namespace {
60 60
61 // When adding values to this enum, update histograms.xml as well. 61 // When adding values to this enum, update histograms.xml as well.
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 defaultViewportMinWidth = document->viewportDefaultMinWidth(); 922 defaultViewportMinWidth = document->viewportDefaultMinWidth();
923 viewportMetaZeroValuesQuirk = 923 viewportMetaZeroValuesQuirk =
924 document->settings() && 924 document->settings() &&
925 document->settings()->getViewportMetaZeroValuesQuirk(); 925 document->settings()->getViewportMetaZeroValuesQuirk();
926 viewportMetaEnabled = 926 viewportMetaEnabled =
927 document->settings() && document->settings()->getViewportMetaEnabled(); 927 document->settings() && document->settings()->getViewportMetaEnabled();
928 referrerPolicy = document->getReferrerPolicy(); 928 referrerPolicy = document->getReferrerPolicy();
929 } 929 }
930 930
931 } // namespace blink 931 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698