Home | History | Annotate | Download | only in metrics
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_METRICS_GZIPPED_PROTOBUFS_FIELD_TRIAL_H_
      6 #define CHROME_BROWSER_METRICS_GZIPPED_PROTOBUFS_FIELD_TRIAL_H_
      7 
      8 namespace metrics {
      9 
     10 // Create a field trial for selecting whether to gzip protobufs before uploading
     11 // or not.
     12 void CreateGzippedProtobufsFieldTrial();
     13 
     14 // Returns whether we are in a field trial group that compresses protobufs
     15 // before uploading.
     16 bool ShouldGzipProtobufsBeforeUploading();
     17 
     18 }  // namespace metrics
     19 
     20 
     21 #endif  // CHROME_BROWSER_METRICS_GZIPPED_PROTOBUFS_FIELD_TRIAL_H_
     22