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

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

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef V8RuntimeAgentImpl_h 31 #ifndef V8RuntimeAgentImpl_h
32 #define V8RuntimeAgentImpl_h 32 #define V8RuntimeAgentImpl_h
33 33
34 #include "platform/inspector_protocol/InspectorProtocol.h" 34 #include "platform/inspector_protocol/InspectorProtocol.h"
35 #include "platform/v8_inspector/protocol/Runtime.h" 35 #include "platform/v8_inspector/protocol/Runtime.h"
36 36
37 #include <v8.h> 37 #include <v8.h>
38 38
39 namespace blink { 39 namespace v8_inspector {
40 40
41 class InjectedScript; 41 class InjectedScript;
42 class InspectedContext; 42 class InspectedContext;
43 class RemoteObjectIdBase; 43 class RemoteObjectIdBase;
44 class V8ConsoleMessage; 44 class V8ConsoleMessage;
45 class V8InspectorImpl; 45 class V8InspectorImpl;
46 class V8InspectorSessionImpl; 46 class V8InspectorSessionImpl;
47 47
48 namespace protocol { 48 namespace protocol = blink::protocol;
49 class DictionaryValue; 49 using blink::protocol::Maybe;
50 }
51
52 using protocol::Maybe;
53 50
54 class V8RuntimeAgentImpl : public protocol::Runtime::Backend { 51 class V8RuntimeAgentImpl : public protocol::Runtime::Backend {
55 PROTOCOL_DISALLOW_COPY(V8RuntimeAgentImpl); 52 PROTOCOL_DISALLOW_COPY(V8RuntimeAgentImpl);
56 public: 53 public:
57 V8RuntimeAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, prot ocol::DictionaryValue* state); 54 V8RuntimeAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, prot ocol::DictionaryValue* state);
58 ~V8RuntimeAgentImpl() override; 55 ~V8RuntimeAgentImpl() override;
59 void restore(); 56 void restore();
60 57
61 // Part of the protocol. 58 // Part of the protocol.
62 void enable(ErrorString*) override; 59 void enable(ErrorString*) override;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 void reportMessage(V8ConsoleMessage*, bool generatePreview); 126 void reportMessage(V8ConsoleMessage*, bool generatePreview);
130 127
131 V8InspectorSessionImpl* m_session; 128 V8InspectorSessionImpl* m_session;
132 protocol::DictionaryValue* m_state; 129 protocol::DictionaryValue* m_state;
133 protocol::Runtime::Frontend m_frontend; 130 protocol::Runtime::Frontend m_frontend;
134 V8InspectorImpl* m_inspector; 131 V8InspectorImpl* m_inspector;
135 bool m_enabled; 132 bool m_enabled;
136 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi ledScripts; 133 protocol::HashMap<String16, std::unique_ptr<v8::Global<v8::Script>>> m_compi ledScripts;
137 }; 134 };
138 135
139 } // namespace blink 136 } // namespace v8_inspector
140 137
141 #endif // V8RuntimeAgentImpl_h 138 #endif // V8RuntimeAgentImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698