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

Side by Side Diff: src/inspector/InjectedScriptNative.h

Issue 2292053003: [inspector] Build inspector under v8_enable_inspector build flag. (Closed)
Patch Set: owners Created 4 years, 3 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 V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project 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 #ifndef V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_ 5 #ifndef V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_
6 #define V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_ 6 #define V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_
7 7
8 #include "src/inspector/protocol/Protocol.h" 8 #include "src/inspector/protocol/Protocol.h"
9 9
10 #include <v8.h> 10 #include "include/v8.h"
11
11 #include <vector> 12 #include <vector>
12 13
13 namespace v8_inspector { 14 namespace v8_inspector {
14 15
15 class InjectedScriptNative final { 16 class InjectedScriptNative final {
16 public: 17 public:
17 explicit InjectedScriptNative(v8::Isolate*); 18 explicit InjectedScriptNative(v8::Isolate*);
18 ~InjectedScriptNative(); 19 ~InjectedScriptNative();
19 20
20 void setOnInjectedScriptHost(v8::Local<v8::Object>); 21 void setOnInjectedScriptHost(v8::Local<v8::Object>);
(...skipping 15 matching lines...) Expand all
36 m_idToWrappedObject; 37 m_idToWrappedObject;
37 typedef protocol::HashMap<int, String16> IdToObjectGroupName; 38 typedef protocol::HashMap<int, String16> IdToObjectGroupName;
38 IdToObjectGroupName m_idToObjectGroupName; 39 IdToObjectGroupName m_idToObjectGroupName;
39 typedef protocol::HashMap<String16, std::vector<int>> NameToObjectGroup; 40 typedef protocol::HashMap<String16, std::vector<int>> NameToObjectGroup;
40 NameToObjectGroup m_nameToObjectGroup; 41 NameToObjectGroup m_nameToObjectGroup;
41 }; 42 };
42 43
43 } // namespace v8_inspector 44 } // namespace v8_inspector
44 45
45 #endif // V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_ 46 #endif // V8_INSPECTOR_INJECTEDSCRIPTNATIVE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698