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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" 5 #include "platform/v8_inspector/V8DebuggerAgentImpl.h"
6 6
7 #include "platform/inspector_protocol/String16.h" 7 #include "platform/inspector_protocol/String16.h"
8 #include "platform/inspector_protocol/Values.h" 8 #include "platform/inspector_protocol/Values.h"
9 #include "platform/v8_inspector/IgnoreExceptionsScope.h" 9 #include "platform/v8_inspector/IgnoreExceptionsScope.h"
10 #include "platform/v8_inspector/InjectedScript.h" 10 #include "platform/v8_inspector/InjectedScript.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 String16Builder hash; 142 String16Builder hash;
143 for (size_t i = 0; i < hashesSize; ++i) 143 for (size_t i = 0; i < hashesSize; ++i)
144 appendUnsignedAsHex(hashes[i], &hash); 144 appendUnsignedAsHex(hashes[i], &hash);
145 return hash.toString(); 145 return hash.toString();
146 } 146 }
147 147
148 PassOwnPtr<V8DebuggerAgent> V8DebuggerAgent::create(V8RuntimeAgent* runtimeAgent , int contextGroupId) 148 PassOwnPtr<V8DebuggerAgent> V8DebuggerAgent::create(V8RuntimeAgent* runtimeAgent , int contextGroupId)
149 { 149 {
150 V8RuntimeAgentImpl* runtimeAgentImpl = static_cast<V8RuntimeAgentImpl*>(runt imeAgent); 150 V8RuntimeAgentImpl* runtimeAgentImpl = static_cast<V8RuntimeAgentImpl*>(runt imeAgent);
151 return adoptPtr(new V8DebuggerAgentImpl(runtimeAgentImpl->injectedScriptMana ger(), runtimeAgentImpl->debugger(), contextGroupId)); 151 return adoptPtr(new V8DebuggerAgentImpl(runtimeAgentImpl->getInjectedScriptM anager(), runtimeAgentImpl->debugger(), contextGroupId));
152 } 152 }
153 153
154 V8DebuggerAgentImpl::V8DebuggerAgentImpl(InjectedScriptManager* injectedScriptMa nager, V8DebuggerImpl* debugger, int contextGroupId) 154 V8DebuggerAgentImpl::V8DebuggerAgentImpl(InjectedScriptManager* injectedScriptMa nager, V8DebuggerImpl* debugger, int contextGroupId)
155 : m_injectedScriptManager(injectedScriptManager) 155 : m_injectedScriptManager(injectedScriptManager)
156 , m_debugger(debugger) 156 , m_debugger(debugger)
157 , m_contextGroupId(contextGroupId) 157 , m_contextGroupId(contextGroupId)
158 , m_enabled(false) 158 , m_enabled(false)
159 , m_state(nullptr) 159 , m_state(nullptr)
160 , m_frontend(nullptr) 160 , m_frontend(nullptr)
161 , m_isolate(debugger->isolate()) 161 , m_isolate(debugger->isolate())
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 m_scripts.clear(); 1529 m_scripts.clear();
1530 m_blackboxedPositions.clear(); 1530 m_blackboxedPositions.clear();
1531 m_breakpointIdToDebuggerBreakpointIds.clear(); 1531 m_breakpointIdToDebuggerBreakpointIds.clear();
1532 resetAsyncCallTracker(); 1532 resetAsyncCallTracker();
1533 m_promiseTracker->clear(); 1533 m_promiseTracker->clear();
1534 if (m_frontend) 1534 if (m_frontend)
1535 m_frontend->globalObjectCleared(); 1535 m_frontend->globalObjectCleared();
1536 } 1536 }
1537 1537
1538 } // namespace blink 1538 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698