| Index: gpu/command_buffer/common/gpu_stream_constants.cc | 
| diff --git a/gpu/command_buffer/common/gpu_stream_constants.cc b/gpu/command_buffer/common/gpu_stream_constants.cc | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..bc878f442522e8a965f4744208d7e02e57b50763 | 
| --- /dev/null | 
| +++ b/gpu/command_buffer/common/gpu_stream_constants.cc | 
| @@ -0,0 +1,26 @@ | 
| +// Copyright 2017 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#include "gpu/command_buffer/common/gpu_stream_constants.h" | 
| + | 
| +#include "base/logging.h" | 
| + | 
| +namespace gpu { | 
| + | 
| +const char* GpuStreamPriorityToString(GpuStreamPriority priority) { | 
| +  switch (priority) { | 
| +    case GpuStreamPriority::REAL_TIME: | 
| +      return "REAL_TIME"; | 
| +    case GpuStreamPriority::HIGH: | 
| +      return "HIGH"; | 
| +    case GpuStreamPriority::NORMAL: | 
| +      return "NORMAL"; | 
| +    case GpuStreamPriority::LOW: | 
| +      return "LOW"; | 
| +  } | 
| +  NOTREACHED(); | 
| +  return ""; | 
| +} | 
| + | 
| +}  // namespace gpu | 
|  |