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/platform/v8_inspector/InjectedScript.cpp

Issue 2154103002: [DevTools] Remove toProtocolValue from v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 29 matching lines...) Expand all
40 #include "platform/v8_inspector/V8Compat.h" 40 #include "platform/v8_inspector/V8Compat.h"
41 #include "platform/v8_inspector/V8Console.h" 41 #include "platform/v8_inspector/V8Console.h"
42 #include "platform/v8_inspector/V8DebuggerImpl.h" 42 #include "platform/v8_inspector/V8DebuggerImpl.h"
43 #include "platform/v8_inspector/V8FunctionCall.h" 43 #include "platform/v8_inspector/V8FunctionCall.h"
44 #include "platform/v8_inspector/V8InjectedScriptHost.h" 44 #include "platform/v8_inspector/V8InjectedScriptHost.h"
45 #include "platform/v8_inspector/V8InspectorSessionImpl.h" 45 #include "platform/v8_inspector/V8InspectorSessionImpl.h"
46 #include "platform/v8_inspector/V8StackTraceImpl.h" 46 #include "platform/v8_inspector/V8StackTraceImpl.h"
47 #include "platform/v8_inspector/V8StringUtil.h" 47 #include "platform/v8_inspector/V8StringUtil.h"
48 #include "platform/v8_inspector/public/V8Debugger.h" 48 #include "platform/v8_inspector/public/V8Debugger.h"
49 #include "platform/v8_inspector/public/V8DebuggerClient.h" 49 #include "platform/v8_inspector/public/V8DebuggerClient.h"
50 #include "platform/v8_inspector/public/V8ToProtocolValue.h"
51 50
52 using blink::protocol::Array; 51 using blink::protocol::Array;
53 using blink::protocol::Debugger::CallFrame; 52 using blink::protocol::Debugger::CallFrame;
54 using blink::protocol::Runtime::PropertyDescriptor; 53 using blink::protocol::Runtime::PropertyDescriptor;
55 using blink::protocol::Runtime::InternalPropertyDescriptor; 54 using blink::protocol::Runtime::InternalPropertyDescriptor;
56 using blink::protocol::Runtime::RemoteObject; 55 using blink::protocol::Runtime::RemoteObject;
57 using blink::protocol::Maybe; 56 using blink::protocol::Maybe;
58 57
59 namespace blink { 58 namespace blink {
60 59
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 void InjectedScript::CallFrameScope::findInjectedScript(V8InspectorSessionImpl* session) 487 void InjectedScript::CallFrameScope::findInjectedScript(V8InspectorSessionImpl* session)
489 { 488 {
490 std::unique_ptr<RemoteCallFrameId> remoteId = RemoteCallFrameId::parse(m_err orString, m_remoteCallFrameId); 489 std::unique_ptr<RemoteCallFrameId> remoteId = RemoteCallFrameId::parse(m_err orString, m_remoteCallFrameId);
491 if (!remoteId) 490 if (!remoteId)
492 return; 491 return;
493 m_frameOrdinal = static_cast<size_t>(remoteId->frameOrdinal()); 492 m_frameOrdinal = static_cast<size_t>(remoteId->frameOrdinal());
494 m_injectedScript = session->findInjectedScript(m_errorString, remoteId.get() ); 493 m_injectedScript = session->findInjectedScript(m_errorString, remoteId.get() );
495 } 494 }
496 495
497 } // namespace blink 496 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698