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

Side by Side Diff: Source/core/loader/DocumentLoader.h

Issue 23455024: Move ownership of the TextResourceDecoder to DecodedDataDocumentParser (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 FrameLoader* frameLoader() const; 81 FrameLoader* frameLoader() const;
82 82
83 unsigned long mainResourceIdentifier() const; 83 unsigned long mainResourceIdentifier() const;
84 84
85 void replaceDocument(const String& source, Document*); 85 void replaceDocument(const String& source, Document*);
86 DocumentWriter* beginWriting(const String& mimeType, const String& encod ing, const KURL& = KURL()); 86 DocumentWriter* beginWriting(const String& mimeType, const String& encod ing, const KURL& = KURL());
87 void endWriting(DocumentWriter*); 87 void endWriting(DocumentWriter*);
88 88
89 String mimeType() const; 89 String mimeType() const;
90 90
91 void setUserChosenEncoding(const String& charset);
92
91 const ResourceRequest& originalRequest() const; 93 const ResourceRequest& originalRequest() const;
92 const ResourceRequest& originalRequestCopy() const; 94 const ResourceRequest& originalRequestCopy() const;
93 95
94 const ResourceRequest& request() const; 96 const ResourceRequest& request() const;
95 ResourceRequest& request(); 97 ResourceRequest& request();
96 98
97 ResourceFetcher* fetcher() const { return m_fetcher.get(); } 99 ResourceFetcher* fetcher() const { return m_fetcher.get(); }
98 100
99 const SubstituteData& substituteData() const { return m_substituteData; } 101 const SubstituteData& substituteData() const { return m_substituteData; }
100 102
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 unsigned long m_identifierForLoadWithoutResourceLoader; 263 unsigned long m_identifierForLoadWithoutResourceLoader;
262 264
263 DocumentLoaderTimer m_dataLoadTimer; 265 DocumentLoaderTimer m_dataLoadTimer;
264 266
265 friend class ApplicationCacheHost; // for substitute resource delivery 267 friend class ApplicationCacheHost; // for substitute resource delivery
266 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; 268 OwnPtr<ApplicationCacheHost> m_applicationCacheHost;
267 }; 269 };
268 } 270 }
269 271
270 #endif // DocumentLoader_h 272 #endif // DocumentLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698