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

Side by Side Diff: Source/core/inspector/InspectorRuntimeAgent.cpp

Issue 299803003: Add isPausedWorker command to Runtime and use it to auto attach DevTools to ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 void InspectorRuntimeAgent::releaseObjectGroup(ErrorString*, const String& objec tGroup) 148 void InspectorRuntimeAgent::releaseObjectGroup(ErrorString*, const String& objec tGroup)
149 { 149 {
150 m_injectedScriptManager->releaseObjectGroup(objectGroup); 150 m_injectedScriptManager->releaseObjectGroup(objectGroup);
151 } 151 }
152 152
153 void InspectorRuntimeAgent::run(ErrorString*) 153 void InspectorRuntimeAgent::run(ErrorString*)
154 { 154 {
155 } 155 }
156 156
157 void InspectorRuntimeAgent::isPausedWorker(ErrorString*, bool* out_result)
158 {
159 *out_result = false;
160 }
161
157 void InspectorRuntimeAgent::setFrontend(InspectorFrontend* frontend) 162 void InspectorRuntimeAgent::setFrontend(InspectorFrontend* frontend)
158 { 163 {
159 m_frontend = frontend->runtime(); 164 m_frontend = frontend->runtime();
160 } 165 }
161 166
162 void InspectorRuntimeAgent::clearFrontend() 167 void InspectorRuntimeAgent::clearFrontend()
163 { 168 {
164 m_frontend = 0; 169 m_frontend = 0;
165 String errorString; 170 String errorString;
166 disable(&errorString); 171 disable(&errorString);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 m_frontend->executionContextCreated(ExecutionContextDescription::create() 207 m_frontend->executionContextCreated(ExecutionContextDescription::create()
203 .setId(executionContextId) 208 .setId(executionContextId)
204 .setIsPageContext(isPageContext) 209 .setIsPageContext(isPageContext)
205 .setName(name) 210 .setName(name)
206 .setFrameId(frameId) 211 .setFrameId(frameId)
207 .release()); 212 .release());
208 } 213 }
209 214
210 } // namespace WebCore 215 } // namespace WebCore
211 216
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698