Index: chrome/browser/metrics/variations/variations_http_header_provider.cc |
diff --git a/chrome/browser/metrics/variations/variations_http_header_provider.cc b/chrome/browser/metrics/variations/variations_http_header_provider.cc |
index 909394a88ff07b1f82fc0c6ceaf87bd14b4b8a24..08907f3b8d42e5b4f0b87382afb3433615f5493c 100644 |
--- a/chrome/browser/metrics/variations/variations_http_header_provider.cc |
+++ b/chrome/browser/metrics/variations/variations_http_header_provider.cc |
@@ -163,16 +163,12 @@ void VariationsHttpHeaderProvider::UpdateVariationIDsHeaderValue() { |
proto.SerializeToString(&serialized); |
std::string hashed; |
- if (base::Base64Encode(serialized, &hashed)) { |
- // If successful, swap the header value with the new one. |
- // Note that the list of IDs and the header could be temporarily out of sync |
- // if IDs are added as the header is recreated. The receiving servers are OK |
- // with such discrepancies. |
- variation_ids_header_ = hashed; |
- } else { |
- NOTREACHED() << "Failed to base64 encode Variation IDs value: " |
- << serialized; |
- } |
+ base::Base64Encode(serialized, &hashed); |
+ // If successful, swap the header value with the new one. |
+ // Note that the list of IDs and the header could be temporarily out of sync |
+ // if IDs are added as the header is recreated. The receiving servers are OK |
+ // with such discrepancies. |
+ variation_ids_header_ = hashed; |
} |
// static |