 Chromium Code Reviews
 Chromium Code Reviews Issue 2556813002:
  Record executable version details to stability file  (Closed)
    
  
    Issue 2556813002:
  Record executable version details to stability file  (Closed) 
  | Index: base/debug/activity_tracker.h | 
| diff --git a/base/debug/activity_tracker.h b/base/debug/activity_tracker.h | 
| index 1767ef41e660e6dc9ac55716d9c730d8c93a10ad..41c78b6640f6c78cd55e9e7f632d67af16230eab 100644 | 
| --- a/base/debug/activity_tracker.h | 
| +++ b/base/debug/activity_tracker.h | 
| @@ -26,6 +26,7 @@ | 
| #include "base/gtest_prod_util.h" | 
| #include "base/location.h" | 
| #include "base/metrics/persistent_memory_allocator.h" | 
| +#include "base/strings/utf_string_conversions.h" | 
| #include "base/threading/platform_thread.h" | 
| #include "base/threading/thread_checker.h" | 
| #include "base/threading/thread_local_storage.h" | 
| @@ -332,6 +333,9 @@ class BASE_EXPORT ActivityUserData { | 
| void SetString(StringPiece name, StringPiece value) { | 
| Set(name, STRING_VALUE, value.data(), value.length()); | 
| } | 
| + void SetString(StringPiece name, StringPiece16 value) { | 
| + SetString(name, base::UTF16ToUTF8(value)); | 
| 
bcwhite
2016/12/06 22:37:32
This module is part of base so you can remove the
 
manzagop (departed)
2016/12/07 14:51:10
Done.
 | 
| + } | 
| void SetChar(StringPiece name, char value) { | 
| Set(name, CHAR_VALUE, &value, sizeof(value)); | 
| } |