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

Side by Side Diff: Source/core/fetch/ResourceFetcher.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 /* 1 /*
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org)
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "core/frame/ContentSecurityPolicy.h" 56 #include "core/frame/ContentSecurityPolicy.h"
57 #include "core/frame/DOMWindow.h" 57 #include "core/frame/DOMWindow.h"
58 #include "core/frame/Frame.h" 58 #include "core/frame/Frame.h"
59 #include "core/timing/Performance.h" 59 #include "core/timing/Performance.h"
60 #include "core/timing/ResourceTimingInfo.h" 60 #include "core/timing/ResourceTimingInfo.h"
61 #include "core/page/Settings.h" 61 #include "core/page/Settings.h"
62 #include "platform/Logging.h" 62 #include "platform/Logging.h"
63 #include "platform/TraceEvent.h" 63 #include "platform/TraceEvent.h"
64 #include "public/platform/Platform.h" 64 #include "public/platform/Platform.h"
65 #include "public/platform/WebURL.h" 65 #include "public/platform/WebURL.h"
66 #include "weborigin/SecurityOrigin.h" 66 #include "platform/weborigin/SecurityOrigin.h"
67 #include "weborigin/SecurityPolicy.h" 67 #include "platform/weborigin/SecurityPolicy.h"
68 #include "wtf/text/CString.h" 68 #include "wtf/text/CString.h"
69 #include "wtf/text/WTFString.h" 69 #include "wtf/text/WTFString.h"
70 70
71 #define PRELOAD_DEBUG 0 71 #define PRELOAD_DEBUG 0
72 72
73 namespace WebCore { 73 namespace WebCore {
74 74
75 static Resource* createResource(Resource::Type type, const ResourceRequest& requ est, const String& charset) 75 static Resource* createResource(Resource::Type type, const ResourceRequest& requ est, const String& charset)
76 { 76 {
77 switch (type) { 77 switch (type) {
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 } 1320 }
1321 #endif 1321 #endif
1322 1322
1323 const ResourceLoaderOptions& ResourceFetcher::defaultResourceOptions() 1323 const ResourceLoaderOptions& ResourceFetcher::defaultResourceOptions()
1324 { 1324 {
1325 DEFINE_STATIC_LOCAL(ResourceLoaderOptions, options, (SendCallbacks, SniffCon tent, BufferData, AllowStoredCredentials, ClientRequestedCredentials, AskClientF orCrossOriginCredentials, DoSecurityCheck, CheckContentSecurityPolicy, UseDefaul tOriginRestrictionsForType, DocumentContext)); 1325 DEFINE_STATIC_LOCAL(ResourceLoaderOptions, options, (SendCallbacks, SniffCon tent, BufferData, AllowStoredCredentials, ClientRequestedCredentials, AskClientF orCrossOriginCredentials, DoSecurityCheck, CheckContentSecurityPolicy, UseDefaul tOriginRestrictionsForType, DocumentContext));
1326 return options; 1326 return options;
1327 } 1327 }
1328 1328
1329 } 1329 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698