Coverage for /Syzygy/kasko/crash_keys_serialization.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
0.0%0011.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_CRASH_KEYS_SERIALIZATION_H_
  16    :  #define SYZYGY_KASKO_CRASH_KEYS_SERIALIZATION_H_
  17    :  
  18    :  #include <map>
  19    :  #include "base/strings/string16.h"
  20    :  
  21  m :  namespace base {
  22  m :  class FilePath;
  23  m :  }  // namespace base
  24    :  
  25  m :  namespace kasko {
  26    :  
  27    :  // Reads serialized crash keys.
  28    :  // @param file_path The file to read from.
  29    :  // @param crash_keys A map to store the deserialized crash keys in.
  30    :  // @returns true if the operation succeeds.
  31  m :  bool ReadCrashKeysFromFile(
  32  m :      const base::FilePath& file_path,
  33  m :      std::map<base::string16, base::string16>* crash_keys);
  34    :  
  35    :  // Writes serialized crash keys.
  36    :  // @param file_path The file to write to.
  37    :  // @param crash_keys The crash keys to write.
  38    :  // @returns true if the operation succeeds.
  39  m :  bool WriteCrashKeysToFile(
  40  m :      const base::FilePath& file_path,
  41  m :      const std::map<base::string16, base::string16>& crash_keys);
  42    :  
  43  m :  }  // namespace kasko
  44    :  
  45    :  #endif  // SYZYGY_KASKO_CRASH_KEYS_SERIALIZATION_H_

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