Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 | 86 |
| 87 unsigned long mainResourceIdentifier() const; | 87 unsigned long mainResourceIdentifier() const; |
| 88 | 88 |
| 89 void replaceDocumentWhileExecutingJavaScriptURL(const DocumentInit&, | 89 void replaceDocumentWhileExecutingJavaScriptURL(const DocumentInit&, |
| 90 const String& source); | 90 const String& source); |
| 91 | 91 |
| 92 const AtomicString& mimeType() const; | 92 const AtomicString& mimeType() const; |
| 93 | 93 |
| 94 const ResourceRequest& originalRequest() const; | 94 const ResourceRequest& originalRequest() const; |
| 95 | 95 |
| 96 const ResourceRequest& request() const; | 96 const ResourceRequest& getRequest() const; |
|
yhirano
2016/12/16 14:52:37
Would it be reasonable to make this function inlin
Łukasz Anforowicz
2016/12/16 17:15:03
This wouldn't have helped with the problem describ
| |
| 97 | 97 |
| 98 ResourceFetcher* fetcher() const { return m_fetcher.get(); } | 98 ResourceFetcher* fetcher() const { return m_fetcher.get(); } |
| 99 | 99 |
| 100 void setSubresourceFilter(std::unique_ptr<WebDocumentSubresourceFilter>); | 100 void setSubresourceFilter(std::unique_ptr<WebDocumentSubresourceFilter>); |
| 101 WebDocumentSubresourceFilter* subresourceFilter() const { | 101 WebDocumentSubresourceFilter* subresourceFilter() const { |
| 102 return m_subresourceFilter.get(); | 102 return m_subresourceFilter.get(); |
| 103 } | 103 } |
| 104 | 104 |
| 105 const SubstituteData& substituteData() const { return m_substituteData; } | 105 const SubstituteData& substituteData() const { return m_substituteData; } |
| 106 | 106 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 // Used to protect against reentrancy into dataReceived(). | 283 // Used to protect against reentrancy into dataReceived(). |
| 284 bool m_inDataReceived; | 284 bool m_inDataReceived; |
| 285 RefPtr<SharedBuffer> m_dataBuffer; | 285 RefPtr<SharedBuffer> m_dataBuffer; |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 288 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
| 289 | 289 |
| 290 } // namespace blink | 290 } // namespace blink |
| 291 | 291 |
| 292 #endif // DocumentLoader_h | 292 #endif // DocumentLoader_h |
| OLD | NEW |