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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h

Issue 2199943004: [DevTools] Rename V8Debugger to V8Inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 25 matching lines...) Expand all
36 #include "platform/v8_inspector/protocol/Runtime.h" 36 #include "platform/v8_inspector/protocol/Runtime.h"
37 37
38 #include <v8.h> 38 #include <v8.h>
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class InjectedScript; 42 class InjectedScript;
43 class InspectedContext; 43 class InspectedContext;
44 class RemoteObjectIdBase; 44 class RemoteObjectIdBase;
45 class V8ConsoleMessage; 45 class V8ConsoleMessage;
46 class V8DebuggerImpl; 46 class V8InspectorImpl;
47 class V8InspectorSessionImpl; 47 class V8InspectorSessionImpl;
48 48
49 namespace protocol { 49 namespace protocol {
50 class DictionaryValue; 50 class DictionaryValue;
51 } 51 }
52 52
53 using protocol::Maybe; 53 using protocol::Maybe;
54 54
55 class V8RuntimeAgentImpl : public protocol::Runtime::Backend { 55 class V8RuntimeAgentImpl : public protocol::Runtime::Backend {
56 PROTOCOL_DISALLOW_COPY(V8RuntimeAgentImpl); 56 PROTOCOL_DISALLOW_COPY(V8RuntimeAgentImpl);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void inspect(std::unique_ptr<protocol::Runtime::RemoteObject> objectToInspec t, std::unique_ptr<protocol::DictionaryValue> hints); 123 void inspect(std::unique_ptr<protocol::Runtime::RemoteObject> objectToInspec t, std::unique_ptr<protocol::DictionaryValue> hints);
124 void messageAdded(V8ConsoleMessage*); 124 void messageAdded(V8ConsoleMessage*);
125 bool enabled() const { return m_enabled; } 125 bool enabled() const { return m_enabled; }
126 126
127 private: 127 private:
128 void reportMessage(V8ConsoleMessage*, bool generatePreview); 128 void reportMessage(V8ConsoleMessage*, bool generatePreview);
129 129
130 V8InspectorSessionImpl* m_session; 130 V8InspectorSessionImpl* m_session;
131 protocol::DictionaryValue* m_state; 131 protocol::DictionaryValue* m_state;
132 protocol::Runtime::Frontend m_frontend; 132 protocol::Runtime::Frontend m_frontend;
133 V8DebuggerImpl* m_debugger; 133 V8InspectorImpl* m_inspector;
134 bool m_enabled; 134 bool m_enabled;
135 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi ledScripts; 135 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi ledScripts;
136 }; 136 };
137 137
138 } // namespace blink 138 } // namespace blink
139 139
140 #endif // V8RuntimeAgentImpl_h 140 #endif // V8RuntimeAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698