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

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h

Issue 1745423002: DevTools: migrate protocol values from RefPtr to OwnPtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // InspectorRuntimeAgent::Client implementation. 126 // InspectorRuntimeAgent::Client implementation.
127 void resumeStartup() override; 127 void resumeStartup() override;
128 bool didCommitLoadFired() override; 128 bool didCommitLoadFired() override;
129 129
130 // InspectorPageAgent::Client implementation. 130 // InspectorPageAgent::Client implementation.
131 void pageLayoutInvalidated(bool resized) override; 131 void pageLayoutInvalidated(bool resized) override;
132 void setPausedInDebuggerMessage(const String&) override; 132 void setPausedInDebuggerMessage(const String&) override;
133 void waitForCreateWindow(LocalFrame*) override; 133 void waitForCreateWindow(LocalFrame*) override;
134 134
135 // protocol::FrontendChannel implementation. 135 // protocol::FrontendChannel implementation.
136 void sendProtocolResponse(int sessionId, int callId, PassRefPtr<protocol::Di ctionaryValue> message) override; 136 void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::Di ctionaryValue> message) override;
137 void sendProtocolNotification(PassRefPtr<protocol::DictionaryValue> message) override; 137 void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message) override;
138 void flush() override; 138 void flush() override;
139 139
140 // WebThread::TaskObserver implementation. 140 // WebThread::TaskObserver implementation.
141 void willProcessTask() override; 141 void willProcessTask() override;
142 void didProcessTask() override; 142 void didProcessTask() override;
143 143
144 void initializeDeferredAgents(); 144 void initializeDeferredAgents();
145 145
146 WebDevToolsAgentClient* m_client; 146 WebDevToolsAgentClient* m_client;
147 RawPtrWillBeMember<WebLocalFrameImpl> m_webLocalFrameImpl; 147 RawPtrWillBeMember<WebLocalFrameImpl> m_webLocalFrameImpl;
(...skipping 18 matching lines...) Expand all
166 RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent; 166 RawPtrWillBeMember<PageConsoleAgent> m_pageConsoleAgent;
167 167
168 int m_layerTreeId; 168 int m_layerTreeId;
169 bool m_inspectedFrameDidCommitLoad; 169 bool m_inspectedFrameDidCommitLoad;
170 170
171 RefPtr<protocol::Dispatcher> m_inspectorBackendDispatcher; 171 RefPtr<protocol::Dispatcher> m_inspectorBackendDispatcher;
172 OwnPtr<protocol::Frontend> m_inspectorFrontend; 172 OwnPtr<protocol::Frontend> m_inspectorFrontend;
173 InspectorAgentRegistry m_agents; 173 InspectorAgentRegistry m_agents;
174 bool m_deferredAgentsInitialized; 174 bool m_deferredAgentsInitialized;
175 175
176 typedef Vector<std::pair<int, RefPtr<protocol::Value>>> NotificationQueue; 176 typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue;
177 NotificationQueue m_notificationQueue; 177 NotificationQueue m_notificationQueue;
178 int m_sessionId; 178 int m_sessionId;
179 String m_stateCookie; 179 String m_stateCookie;
180 bool m_stateMuted; 180 bool m_stateMuted;
181 181
182 friend class DebuggerTask; 182 friend class DebuggerTask;
183 }; 183 };
184 184
185 } // namespace blink 185 } // namespace blink
186 186
187 #endif 187 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698