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

Side by Side Diff: Source/core/loader/DocumentThreadableLoader.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 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
« no previous file with comments | « Source/core/loader/DocumentThreadableLoader.h ('k') | Source/core/loader/DocumentWriter.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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013, Intel Corporation 3 * Copyright (C) 2013, Intel Corporation
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 20 matching lines...) Expand all
31 31
32 #include "config.h" 32 #include "config.h"
33 #include "core/loader/DocumentThreadableLoader.h" 33 #include "core/loader/DocumentThreadableLoader.h"
34 34
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/inspector/InspectorInstrumentation.h" 36 #include "core/inspector/InspectorInstrumentation.h"
37 #include "core/loader/CrossOriginAccessControl.h" 37 #include "core/loader/CrossOriginAccessControl.h"
38 #include "core/loader/CrossOriginPreflightResultCache.h" 38 #include "core/loader/CrossOriginPreflightResultCache.h"
39 #include "core/loader/DocumentThreadableLoaderClient.h" 39 #include "core/loader/DocumentThreadableLoaderClient.h"
40 #include "core/loader/FrameLoader.h" 40 #include "core/loader/FrameLoader.h"
41 #include "core/loader/ResourceLoader.h"
42 #include "core/loader/ThreadableLoaderClient.h" 41 #include "core/loader/ThreadableLoaderClient.h"
43 #include "core/loader/cache/CachedRawResource.h" 42 #include "core/loader/cache/CachedRawResource.h"
44 #include "core/loader/cache/CachedResourceLoader.h" 43 #include "core/loader/cache/CachedResourceLoader.h"
45 #include "core/loader/cache/CachedResourceRequest.h" 44 #include "core/loader/cache/CachedResourceRequest.h"
46 #include "core/page/ContentSecurityPolicy.h" 45 #include "core/page/ContentSecurityPolicy.h"
47 #include "core/page/Frame.h" 46 #include "core/page/Frame.h"
48 #include "core/platform/network/ResourceError.h" 47 #include "core/platform/network/ResourceError.h"
49 #include "core/platform/network/ResourceRequest.h" 48 #include "core/platform/network/ResourceRequest.h"
50 #include "weborigin/SchemeRegistry.h" 49 #include "weborigin/SchemeRegistry.h"
51 #include "weborigin/SecurityOrigin.h" 50 #include "weborigin/SecurityOrigin.h"
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 return true; 479 return true;
481 return m_document->contentSecurityPolicy()->allowConnectToSource(url); 480 return m_document->contentSecurityPolicy()->allowConnectToSource(url);
482 } 481 }
483 482
484 SecurityOrigin* DocumentThreadableLoader::securityOrigin() const 483 SecurityOrigin* DocumentThreadableLoader::securityOrigin() const
485 { 484 {
486 return m_options.securityOrigin ? m_options.securityOrigin.get() : m_documen t->securityOrigin(); 485 return m_options.securityOrigin ? m_options.securityOrigin.get() : m_documen t->securityOrigin();
487 } 486 }
488 487
489 } // namespace WebCore 488 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/loader/DocumentThreadableLoader.h ('k') | Source/core/loader/DocumentWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698