| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 FrameLoader* frameLoader() const; | 79 FrameLoader* frameLoader() const; |
| 80 | 80 |
| 81 unsigned long mainResourceIdentifier() const; | 81 unsigned long mainResourceIdentifier() const; |
| 82 | 82 |
| 83 void replaceDocument(const String& source, Document*); | 83 void replaceDocument(const String& source, Document*); |
| 84 DocumentWriter* beginWriting(const String& mimeType, const String& encod
ing, const KURL& = KURL()); | 84 DocumentWriter* beginWriting(const String& mimeType, const String& encod
ing, const KURL& = KURL()); |
| 85 void endWriting(DocumentWriter*); | 85 void endWriting(DocumentWriter*); |
| 86 | 86 |
| 87 String mimeType() const; | 87 String mimeType() const; |
| 88 | 88 |
| 89 void setUserChosenEncoding(const String& charset); |
| 90 |
| 89 const ResourceRequest& originalRequest() const; | 91 const ResourceRequest& originalRequest() const; |
| 90 const ResourceRequest& originalRequestCopy() const; | 92 const ResourceRequest& originalRequestCopy() const; |
| 91 | 93 |
| 92 const ResourceRequest& request() const; | 94 const ResourceRequest& request() const; |
| 93 ResourceRequest& request(); | 95 ResourceRequest& request(); |
| 94 | 96 |
| 95 ResourceFetcher* fetcher() const { return m_fetcher.get(); } | 97 ResourceFetcher* fetcher() const { return m_fetcher.get(); } |
| 96 | 98 |
| 97 const SubstituteData& substituteData() const { return m_substituteData;
} | 99 const SubstituteData& substituteData() const { return m_substituteData;
} |
| 98 | 100 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 unsigned long m_identifierForLoadWithoutResourceLoader; | 256 unsigned long m_identifierForLoadWithoutResourceLoader; |
| 255 | 257 |
| 256 DocumentLoaderTimer m_dataLoadTimer; | 258 DocumentLoaderTimer m_dataLoadTimer; |
| 257 | 259 |
| 258 friend class ApplicationCacheHost; // for substitute resource delivery | 260 friend class ApplicationCacheHost; // for substitute resource delivery |
| 259 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; | 261 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; |
| 260 }; | 262 }; |
| 261 } | 263 } |
| 262 | 264 |
| 263 #endif // DocumentLoader_h | 265 #endif // DocumentLoader_h |
| OLD | NEW |