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

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

Issue 69823002: Move ownership of the TextResourceDecoder to DecodedDataDocumentParser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes 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
« no previous file with comments | « Source/core/fetch/TextResourceDecoder.h ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/core/fetch/TextResourceDecoder.h ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698