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

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 const ResourceRequest& DocumentLoader::originalRequest() const 147 const ResourceRequest& DocumentLoader::originalRequest() const
148 { 148 {
149 return m_originalRequest; 149 return m_originalRequest;
150 } 150 }
151 151
152 const ResourceRequest& DocumentLoader::request() const 152 const ResourceRequest& DocumentLoader::request() const
153 { 153 {
154 return m_request; 154 return m_request;
155 } 155 }
156 156
157 ResourceFetcher* DocumentLoader::fetcher() const
158 {
159 return m_fetcher.get();
160 }
161
162 const KURL& DocumentLoader::url() const 157 const KURL& DocumentLoader::url() const
163 { 158 {
164 return m_request.url(); 159 return m_request.url();
165 } 160 }
166 161
167 void DocumentLoader::startPreload(Resource::Type type, FetchRequest& request) 162 void DocumentLoader::startPreload(Resource::Type type, FetchRequest& request)
168 { 163 {
169 ASSERT(type == Resource::Script || type == Resource::CSSStyleSheet || type = = Resource::Image || type == Resource::ImportResource); 164 ASSERT(type == Resource::Script || type == Resource::CSSStyleSheet || type = = Resource::Image || type == Resource::ImportResource);
170 ResourcePtr<Resource> resource; 165 ResourcePtr<Resource> resource;
171 switch (type) { 166 switch (type) {
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 { 833 {
839 m_writer = createWriterFor(ownerDocument, init, mimeType(), m_writer ? m_wri ter->encoding() : emptyAtom, true, ForceSynchronousParsing); 834 m_writer = createWriterFor(ownerDocument, init, mimeType(), m_writer ? m_wri ter->encoding() : emptyAtom, true, ForceSynchronousParsing);
840 if (!source.isNull()) 835 if (!source.isNull())
841 m_writer->appendReplacingData(source); 836 m_writer->appendReplacingData(source);
842 endWriting(m_writer.get()); 837 endWriting(m_writer.get());
843 } 838 }
844 839
845 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); 840 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader);
846 841
847 } // namespace blink 842 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.h ('k') | third_party/WebKit/Source/core/loader/FormSubmission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698