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

Side by Side Diff: third_party/WebKit/Source/core/probe/CoreProbes.pidl

Issue 2846723003: Removed local RefPtr created from PassRefPtr arg in generated file. (Closed)
Patch Set: Addressed comments. Created 3 years, 7 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 | « third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesImpl.cpp.tmpl ('k') | no next file » | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 * paramAttr - optional attribute controlling the parameters handling (one att ribute per parameter max). 42 * paramAttr - optional attribute controlling the parameters handling (one att ribute per parameter max).
43 * Keep - pass first parameter (used to access the CoreProbeSink instance) to agents. 43 * Keep - pass first parameter (used to access the CoreProbeSink instance) to agents.
44 * 44 *
45 * returnValue: "void" for instant probes. 45 * returnValue: "void" for instant probes.
46 * Omitted for the scoped probes. 46 * Omitted for the scoped probes.
47 * 47 *
48 * methodName: C++ name for the public instrumentation method and agents metho ds. 48 * methodName: C++ name for the public instrumentation method and agents metho ds.
49 * 49 *
50 * paramList: C++ parameter list with optional names. Names will be deduced fr om types if omitted but you have to 50 * paramList: C++ parameter list with optional names. Names will be deduced fr om types if omitted but you have to
51 * specify explicit names for multiple parameters of the same type. 51 * specify explicit names for multiple parameters of the same type.
52 *
53 * Parameters with type PassRefPtr<T> are converted to raw pointers,
54 * so reference will not be passed or released until all agents are notified.
55 */ 52 */
56 53
57 interface CoreProbes { 54 interface CoreProbes {
58 55
59 class ConsoleMessage; 56 class ConsoleMessage;
60 class HTMLDocumentParser; 57 class HTMLDocumentParser;
61 class ThreadableLoaderClient; 58 class ThreadableLoaderClient;
62 class WebSocketHandshakeRequest; 59 class WebSocketHandshakeRequest;
63 class WebSocketHandshakeResponse; 60 class WebSocketHandshakeResponse;
64 class WorkerInspectorProxy; 61 class WorkerInspectorProxy;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char* data, int dataLength); 94 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char* data, int dataLength);
98 void didReceiveEncodedDataLength([Keep] LocalFrame*, unsigned long identifier, int encodedDataLength); 95 void didReceiveEncodedDataLength([Keep] LocalFrame*, unsigned long identifier, int encodedDataLength);
99 void didFinishLoading([Keep] LocalFrame* frame, unsigned long identifier, doub le finishTime, int64_t encodedDataLength, int64_t decodedBodyLength); 96 void didFinishLoading([Keep] LocalFrame* frame, unsigned long identifier, doub le finishTime, int64_t encodedDataLength, int64_t decodedBodyLength);
100 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identifi er, DocumentLoader*, const ResourceResponse&, Resource*); 97 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identifi er, DocumentLoader*, const ResourceResponse&, Resource*);
101 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resourc eError&); 98 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resourc eError&);
102 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsign ed long identifier, ThreadableLoaderClient* client); 99 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsign ed long identifier, ThreadableLoaderClient* client);
103 void documentThreadableLoaderFailedToStartLoadingForClient(ExecutionContext*, ThreadableLoaderClient* client); 100 void documentThreadableLoaderFailedToStartLoadingForClient(ExecutionContext*, ThreadableLoaderClient* client);
104 void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eve ntSource); 101 void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eve ntSource);
105 void willDispatchEventSourceEvent(ExecutionContext*, ThreadableLoaderClient* e ventSource, const AtomicString& eventName, const AtomicString& eventId, const St ring& data); 102 void willDispatchEventSourceEvent(ExecutionContext*, ThreadableLoaderClient* e ventSource, const AtomicString& eventName, const AtomicString& eventId, const St ring& data);
106 void didFinishEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* ev entSource); 103 void didFinishEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* ev entSource);
107 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClien t* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr<E ncodedFormData>, const HTTPHeaderMap& headers, bool includeCredentials); 104 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderClien t* client, const AtomicString& method, const KURL& url, bool async, RefPtr<Encod edFormData>, const HTTPHeaderMap& headers, bool includeCredentials);
108 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Threadab leLoaderClient* client, const AtomicString& method, const String& url); 105 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Threadab leLoaderClient* client, const AtomicString& method, const String& url);
109 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url); 106 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url);
110 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*); 107 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*);
111 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*); 108 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*);
112 void didFinishFetch([Keep] ExecutionContext*, ThreadableLoaderClient*, const A tomicString& method, const String& url); 109 void didFinishFetch([Keep] ExecutionContext*, ThreadableLoaderClient*, const A tomicString& method, const String& url);
113 // Detach and remove all references to the given client. 110 // Detach and remove all references to the given client.
114 void detachClientRequest(ExecutionContext*, ThreadableLoaderClient*); 111 void detachClientRequest(ExecutionContext*, ThreadableLoaderClient*);
115 void scriptImported(ExecutionContext*, unsigned long identifier, const String& sourceString); 112 void scriptImported(ExecutionContext*, unsigned long identifier, const String& sourceString);
116 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveTex t); 113 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveTex t);
117 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); 114 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 UpdateLayout(Document*); 151 UpdateLayout(Document*);
155 ExecuteScript([Keep] ExecutionContext* context); 152 ExecuteScript([Keep] ExecutionContext* context);
156 CallFunction([Keep] ExecutionContext* context, v8::Local<v8::Function> functio n, int depth = 0); 153 CallFunction([Keep] ExecutionContext* context, v8::Local<v8::Function> functio n, int depth = 0);
157 UserCallback([Keep] ExecutionContext* context, const char* name, const AtomicS tring& atomicName, bool recurring, EventTarget* eventTarget = nullptr); 154 UserCallback([Keep] ExecutionContext* context, const char* name, const AtomicS tring& atomicName, bool recurring, EventTarget* eventTarget = nullptr);
158 ParseHTML(Document* document, HTMLDocumentParser* parser); 155 ParseHTML(Document* document, HTMLDocumentParser* parser);
159 void forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseudoS tate, bool* result); 156 void forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseudoS tate, bool* result);
160 void shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context, bool* resul t); 157 void shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context, bool* resul t);
161 void shouldForceCORSPreflight(Document*, bool* result); 158 void shouldForceCORSPreflight(Document*, bool* result);
162 void shouldBlockRequest(LocalFrame*, const ResourceRequest&, bool* result); 159 void shouldBlockRequest(LocalFrame*, const ResourceRequest&, bool* result);
163 } 160 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesImpl.cpp.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698