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

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

Issue 99333011: Make sure getAttribute() / setAttribute() callers use AtomicStrings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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/inspector/InspectorStyleSheet.cpp ('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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 const SubstituteData& substituteData() const { return m_substituteData; } 99 const SubstituteData& substituteData() const { return m_substituteData; }
100 100
101 // FIXME: This is the same as requestURL(). We should remove one of them . 101 // FIXME: This is the same as requestURL(). We should remove one of them .
102 const KURL& url() const; 102 const KURL& url() const;
103 const KURL& unreachableURL() const; 103 const KURL& unreachableURL() const;
104 bool isURLValidForNewHistoryEntry() const; 104 bool isURLValidForNewHistoryEntry() const;
105 105
106 const KURL& originalURL() const; 106 const KURL& originalURL() const;
107 const KURL& requestURL() const; 107 const KURL& requestURL() const;
108 const String& responseMIMEType() const; 108 const AtomicString& responseMIMEType() const;
109 109
110 void updateForSameDocumentNavigation(const KURL&); 110 void updateForSameDocumentNavigation(const KURL&);
111 void stopLoading(); 111 void stopLoading();
112 void setCommitted(bool committed) { m_committed = committed; } 112 void setCommitted(bool committed) { m_committed = committed; }
113 bool isCommitted() const { return m_committed; } 113 bool isCommitted() const { return m_committed; }
114 bool isLoading() const; 114 bool isLoading() const;
115 const ResourceResponse& response() const { return m_response; } 115 const ResourceResponse& response() const { return m_response; }
116 const ResourceError& mainDocumentError() const { return m_mainDocumentEr ror; } 116 const ResourceError& mainDocumentError() const { return m_mainDocumentEr ror; }
117 bool isClientRedirect() const { return m_isClientRedirect; } 117 bool isClientRedirect() const { return m_isClientRedirect; }
118 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i sClientRedirect; } 118 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i sClientRedirect; }
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 unsigned long m_identifierForLoadWithoutResourceLoader; 256 unsigned long m_identifierForLoadWithoutResourceLoader;
257 257
258 DocumentLoaderTimer m_dataLoadTimer; 258 DocumentLoaderTimer m_dataLoadTimer;
259 259
260 friend class ApplicationCacheHost; // for substitute resource delivery 260 friend class ApplicationCacheHost; // for substitute resource delivery
261 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; 261 OwnPtr<ApplicationCacheHost> m_applicationCacheHost;
262 }; 262 };
263 } 263 }
264 264
265 #endif // DocumentLoader_h 265 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698