LCOV - code coverage report
Current view: top level - out/Release/gen/src/inspector/protocol - Forward.h (source / functions) Hit Total Coverage
Test: app.info Lines: 4 4 100.0 %
Date: 2019-01-20 Functions: 0 4 0.0 %

          Line data    Source code
       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
       3             : // found in the LICENSE file.
       4             : 
       5             : #ifndef v8_inspector_protocol_Forward_h
       6             : #define v8_inspector_protocol_Forward_h
       7             : 
       8             : #include "src/inspector/string-util.h"
       9             : 
      10             : #include <cstddef>
      11             : #include <memory>
      12             : #include <vector>
      13             : #include <unordered_map>
      14             : #include <unordered_set>
      15             : 
      16             : namespace v8_inspector {
      17             : namespace protocol {
      18             : 
      19             : template<typename T> class Array;
      20             : class DictionaryValue;
      21             : class DispatchResponse;
      22             : class ErrorSupport;
      23             : class FundamentalValue;
      24             : class ListValue;
      25             : template<typename T> class Maybe;
      26             : class Object;
      27             : using Response = DispatchResponse;
      28             : class SerializedValue;
      29             : class StringValue;
      30             : class UberDispatcher;
      31             : class Value;
      32             : 
      33             : } // namespace v8_inspector
      34             : } // namespace protocol
      35             : 
      36             : #endif // !defined(v8_inspector_protocol_Forward_h)
      37             : 
      38             : 
      39             : // Copyright 2016 The Chromium Authors. All rights reserved.
      40             : // Use of this source code is governed by a BSD-style license that can be
      41             : // found in the LICENSE file.
      42             : 
      43             : #ifndef v8_inspector_protocol_Allocator_h
      44             : #define v8_inspector_protocol_Allocator_h
      45             : 
      46             : namespace v8_inspector {
      47             : namespace protocol {
      48             : 
      49             : enum NotNullTagEnum { NotNullLiteral };
      50             : 
      51             : #define PROTOCOL_DISALLOW_COPY(ClassName) \
      52             :     private: \
      53             :         ClassName(const ClassName&) = delete; \
      54             :         ClassName& operator=(const ClassName&) = delete
      55             : 
      56             : } // namespace v8_inspector
      57             : } // namespace protocol
      58             : 
      59             : #endif // !defined(v8_inspector_protocol_Allocator_h)
      60             : 
      61             : 
      62             : // Copyright 2016 The Chromium Authors. All rights reserved.
      63             : // Use of this source code is governed by a BSD-style license that can be
      64             : // found in the LICENSE file.
      65             : 
      66             : #ifndef v8_inspector_protocol_FrontendChannel_h
      67             : #define v8_inspector_protocol_FrontendChannel_h
      68             : 
      69             : namespace v8_inspector {
      70             : namespace protocol {
      71             : 
      72    45746892 : class  Serializable {
      73             : public:
      74             :     virtual String serialize() = 0;
      75    45746892 :     virtual ~Serializable() = default;
      76             : };
      77             : 
      78        3834 : class  FrontendChannel {
      79             : public:
      80        3834 :     virtual ~FrontendChannel() { }
      81             :     virtual void sendProtocolResponse(int callId, std::unique_ptr<Serializable> message) = 0;
      82             :     virtual void sendProtocolNotification(std::unique_ptr<Serializable> message) = 0;
      83             :     virtual void fallThrough(int callId, const String& method, const String& message) = 0;
      84             :     virtual void flushProtocolNotifications() = 0;
      85             : };
      86             : 
      87             : } // namespace v8_inspector
      88             : } // namespace protocol
      89             : 
      90             : #endif // !defined(v8_inspector_protocol_FrontendChannel_h)

Generated by: LCOV version 1.10