Coverage for /Syzygy/kasko/service.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
100.0%110.C++source

Line-by-line coverage:

   1    :  // Copyright 2014 Google Inc. All Rights Reserved.
   2    :  //
   3    :  // Licensed under the Apache License, Version 2.0 (the "License");
   4    :  // you may not use this file except in compliance with the License.
   5    :  // You may obtain a copy of the License at
   6    :  //
   7    :  //     http://www.apache.org/licenses/LICENSE-2.0
   8    :  //
   9    :  // Unless required by applicable law or agreed to in writing, software
  10    :  // distributed under the License is distributed on an "AS IS" BASIS,
  11    :  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12    :  // See the License for the specific language governing permissions and
  13    :  // limitations under the License.
  14    :  
  15    :  #ifndef SYZYGY_KASKO_SERVICE_H_
  16    :  #define SYZYGY_KASKO_SERVICE_H_
  17    :  
  18    :  #include "base/process/process_handle.h"
  19    :  #include "base/threading/platform_thread.h"
  20    :  
  21    :  namespace kasko {
  22    :  
  23    :  struct MinidumpRequest;
  24    :  
  25    :  // Defines an RPC-agnostic implementation of the methods exposed by the Kasko
  26    :  // RPC service.
  27    :  class Service {
  28    :   public:
  29  E :    virtual ~Service() {}
  30    :  
  31    :    // Responds to a request to send a diagnostic report.
  32    :    // @param thread_id The crashing thread to report on. Ignored if
  33    :    //     request.exception_info_address is null.
  34    :    // @param request The report parameters.
  35    :    virtual void SendDiagnosticReport(base::ProcessId client_process_id,
  36    :                                      base::PlatformThreadId thread_id,
  37    :                                      const MinidumpRequest& request) = 0;
  38    :  };
  39    :  
  40    :  }  // namespace kasko
  41    :  
  42    :  #endif  // SYZYGY_KASKO_SERVICE_H_

Coverage information generated Thu Jan 14 17:40:38 2016.