OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef V8InspectorSessionClient_h | 5 #ifndef V8InspectorSessionClient_h |
6 #define V8InspectorSessionClient_h | 6 #define V8InspectorSessionClient_h |
7 | 7 |
8 #include "platform/inspector_protocol/Platform.h" | 8 #include "platform/inspector_protocol/Platform.h" |
9 | 9 |
10 #include <v8.h> | 10 #include <v8.h> |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class PLATFORM_EXPORT V8InspectorSessionClient { | 14 class PLATFORM_EXPORT V8InspectorSessionClient { |
15 public: | 15 public: |
16 virtual ~V8InspectorSessionClient() { } | 16 virtual ~V8InspectorSessionClient() { } |
17 virtual void resumeStartup() = 0; | 17 virtual void resumeStartup() = 0; |
18 // TODO(dgozman): this was added to support service worker shadow page. We s
hould not connect at all. | |
19 virtual bool canExecuteScripts() = 0; | |
20 }; | 18 }; |
21 | 19 |
22 } // namespace blink | 20 } // namespace blink |
23 | 21 |
24 #endif // V8InspectorSessionClient_h | 22 #endif // V8InspectorSessionClient_h |
OLD | NEW |