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

Side by Side Diff: WebCore/inspector/InspectorResource.h

Issue 3441018: Merge 67709 - 2010-09-17 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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
« no previous file with comments | « WebCore/inspector/InspectorController.cpp ('k') | WebCore/inspector/InspectorResource.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) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 static PassRefPtr<InspectorResource> createCached(unsigned long identifi er, DocumentLoader*, const CachedResource*); 74 static PassRefPtr<InspectorResource> createCached(unsigned long identifi er, DocumentLoader*, const CachedResource*);
75 75
76 ~InspectorResource(); 76 ~InspectorResource();
77 77
78 PassRefPtr<InspectorResource> appendRedirect(unsigned long identifier, c onst KURL& redirectURL); 78 PassRefPtr<InspectorResource> appendRedirect(unsigned long identifier, c onst KURL& redirectURL);
79 void updateScriptObject(InspectorFrontend* frontend); 79 void updateScriptObject(InspectorFrontend* frontend);
80 void releaseScriptObject(InspectorFrontend* frontend); 80 void releaseScriptObject(InspectorFrontend* frontend);
81 81
82 void updateRequest(const ResourceRequest&); 82 void updateRequest(const ResourceRequest&);
83 void markAsCached();
83 void updateResponse(const ResourceResponse&); 84 void updateResponse(const ResourceResponse&);
84 85
85 void setOverrideContent(const ScriptString& data, Type); 86 void setOverrideContent(const ScriptString& data, Type);
86 87
87 String sourceString() const; 88 String sourceString() const;
88 PassRefPtr<SharedBuffer> resourceData(String* textEncodingName) const; 89 PassRefPtr<SharedBuffer> resourceData(String* textEncodingName) const;
89 90
90 bool isSameLoader(DocumentLoader* loader) const { return loader == m_loa der; } 91 bool isSameLoader(DocumentLoader* loader) const { return loader == m_loa der; }
91 void markMainResource() { m_isMainResource = true; } 92 void markMainResource() { m_isMainResource = true; }
92 unsigned long identifier() const { return m_identifier; } 93 unsigned long identifier() const { return m_identifier; }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 Changes m_changes; 178 Changes m_changes;
178 bool m_isMainResource; 179 bool m_isMainResource;
179 String m_requestMethod; 180 String m_requestMethod;
180 String m_requestFormData; 181 String m_requestFormData;
181 Vector<RefPtr<InspectorResource> > m_redirects; 182 Vector<RefPtr<InspectorResource> > m_redirects;
182 }; 183 };
183 184
184 } // namespace WebCore 185 } // namespace WebCore
185 186
186 #endif // InspectorResource_h 187 #endif // InspectorResource_h
OLDNEW
« no previous file with comments | « WebCore/inspector/InspectorController.cpp ('k') | WebCore/inspector/InspectorResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698