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

Side by Side Diff: Source/core/inspector/InspectorResourceAgent.h

Issue 206073005: PassRefPtr is stolen by first agent invocation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: chmod Created 6 years, 9 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, Docum entLoader*, const ResourceResponse&, ResourceLoader*); 91 void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, Docum entLoader*, const ResourceResponse&, ResourceLoader*);
92 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength); 92 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
93 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono tonicFinishTime, int64_t encodedDataLength); 93 void didFinishLoading(unsigned long identifier, DocumentLoader*, double mono tonicFinishTime, int64_t encodedDataLength);
94 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, ResourceLoader*); 94 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, ResourceLoader*);
95 void didFailLoading(unsigned long identifier, const ResourceError&); 95 void didFailLoading(unsigned long identifier, const ResourceError&);
96 void didCommitLoad(LocalFrame*, DocumentLoader*); 96 void didCommitLoad(LocalFrame*, DocumentLoader*);
97 void scriptImported(unsigned long identifier, const String& sourceString); 97 void scriptImported(unsigned long identifier, const String& sourceString);
98 void didReceiveScriptResponse(unsigned long identifier); 98 void didReceiveScriptResponse(unsigned long identifier);
99 99
100 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie r, ThreadableLoaderClient*); 100 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie r, ThreadableLoaderClient*);
101 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM ap& headers, bool includeCrendentials); 101 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers , bool includeCrendentials);
102 void didFailXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*); 102 void didFailXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*);
103 void didFinishXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*, unsigned long identifier, ScriptString sourceString, const AtomicString&, const String&, const String&, unsigned); 103 void didFinishXHRLoading(XMLHttpRequest*, ThreadableLoaderClient*, unsigned long identifier, ScriptString sourceString, const AtomicString&, const String&, const String&, unsigned);
104 104
105 void willDestroyResource(Resource*); 105 void willDestroyResource(Resource*);
106 106
107 void applyUserAgentOverride(String* userAgent); 107 void applyUserAgentOverride(String* userAgent);
108 108
109 // FIXME: InspectorResourceAgent should not be aware of style recalculation. 109 // FIXME: InspectorResourceAgent should not be aware of style recalculation.
110 void willRecalculateStyle(Document*); 110 void willRecalculateStyle(Document*);
111 void didRecalculateStyle(); 111 void didRecalculateStyle();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 // FIXME: InspectorResourceAgent should now be aware of style recalculation. 167 // FIXME: InspectorResourceAgent should now be aware of style recalculation.
168 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator; 168 RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator;
169 bool m_isRecalculatingStyle; 169 bool m_isRecalculatingStyle;
170 }; 170 };
171 171
172 } // namespace WebCore 172 } // namespace WebCore
173 173
174 174
175 #endif // !defined(InspectorResourceAgent_h) 175 #endif // !defined(InspectorResourceAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698