| Index: trunk/src/chrome/browser/metrics/variations/variations_http_header_provider.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/metrics/variations/variations_http_header_provider.cc (revision 239942)
|
| +++ trunk/src/chrome/browser/metrics/variations/variations_http_header_provider.cc (working copy)
|
| @@ -163,16 +163,12 @@
|
| 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
|
|
|