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

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

Issue 1311923004: Rename FormData/FormDataBuilder to EncodedFormData/FormDataEncoder respectively. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update comments Created 5 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) 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 30 matching lines...) Expand all
41 #include "platform/network/ResourceRequest.h" 41 #include "platform/network/ResourceRequest.h"
42 #include "wtf/PassOwnPtr.h" 42 #include "wtf/PassOwnPtr.h"
43 #include "wtf/text/WTFString.h" 43 #include "wtf/text/WTFString.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 class Resource; 47 class Resource;
48 struct FetchInitiatorInfo; 48 struct FetchInitiatorInfo;
49 class Document; 49 class Document;
50 class DocumentLoader; 50 class DocumentLoader;
51 class EncodedFormData;
51 class ExecutionContext; 52 class ExecutionContext;
52 class FormData;
53 class LocalFrame; 53 class LocalFrame;
54 class HTTPHeaderMap; 54 class HTTPHeaderMap;
55 class InspectorFrontend; 55 class InspectorFrontend;
56 class InspectorPageAgent; 56 class InspectorPageAgent;
57 class JSONObject; 57 class JSONObject;
58 class KURL; 58 class KURL;
59 class NetworkResourcesData; 59 class NetworkResourcesData;
60 class ResourceError; 60 class ResourceError;
61 class ResourceLoader; 61 class ResourceLoader;
62 class ResourceResponse; 62 class ResourceResponse;
(...skipping 27 matching lines...) Expand all
90 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength); 90 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
91 void didFinishLoading(unsigned long identifier, double monotonicFinishTime, int64_t encodedDataLength); 91 void didFinishLoading(unsigned long identifier, double monotonicFinishTime, int64_t encodedDataLength);
92 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, ResourceLoader*); 92 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D ocumentLoader*, const ResourceResponse&, ResourceLoader*);
93 void didFailLoading(unsigned long identifier, const ResourceError&); 93 void didFailLoading(unsigned long identifier, const ResourceError&);
94 void didCommitLoad(LocalFrame*, DocumentLoader*); 94 void didCommitLoad(LocalFrame*, DocumentLoader*);
95 void scriptImported(unsigned long identifier, const String& sourceString); 95 void scriptImported(unsigned long identifier, const String& sourceString);
96 void didReceiveScriptResponse(unsigned long identifier); 96 void didReceiveScriptResponse(unsigned long identifier);
97 bool shouldForceCORSPreflight(); 97 bool shouldForceCORSPreflight();
98 98
99 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie r, ThreadableLoaderClient*); 99 void documentThreadableLoaderStartedLoadingForClient(unsigned long identifie r, ThreadableLoaderClient*);
100 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, PassRefPtr<FormData> body, const HTTPHeaderM ap& headers, bool includeCrendentials); 100 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, PassRefPtr<EncodedFormData> body, const HTTP HeaderMap& headers, bool includeCrendentials);
101 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest*, ThreadableLoaderC lient*, const AtomicString&, const String&); 101 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest*, ThreadableLoaderC lient*, const AtomicString&, const String&);
102 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest*, ThreadableLoade rClient*, const AtomicString&, const String&); 102 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest*, ThreadableLoade rClient*, const AtomicString&, const String&);
103 103
104 void willStartFetch(ThreadableLoaderClient*); 104 void willStartFetch(ThreadableLoaderClient*);
105 void didFailFetch(ThreadableLoaderClient*); 105 void didFailFetch(ThreadableLoaderClient*);
106 void didFinishFetch(ExecutionContext*, ThreadableLoaderClient*, const Atomic String& method, const String& url); 106 void didFinishFetch(ExecutionContext*, ThreadableLoaderClient*, const Atomic String& method, const String& url);
107 107
108 void willSendEventSourceRequest(ThreadableLoaderClient*); 108 void willSendEventSourceRequest(ThreadableLoaderClient*);
109 void willDispachEventSourceEvent(ThreadableLoaderClient*, const AtomicString & eventName, const AtomicString& eventId, const Vector<UChar>& data); 109 void willDispachEventSourceEvent(ThreadableLoaderClient*, const AtomicString & eventName, const AtomicString& eventId, const Vector<UChar>& data);
110 void didFinishEventSourceRequest(ThreadableLoaderClient*); 110 void didFinishEventSourceRequest(ThreadableLoaderClient*);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 191 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
192 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRsT oBeDeleted; 192 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRsT oBeDeleted;
193 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; 193 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer;
194 }; 194 };
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 198
199 #endif // !defined(InspectorResourceAgent_h) 199 #endif // !defined(InspectorResourceAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698