| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/resources/raster_mode.h" | 5 #include "cc/resources/raster_mode.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 base::Value::CreateStringValue("LOW_QUALITY_RASTER_MODE")); | 23 base::Value::CreateStringValue("LOW_QUALITY_RASTER_MODE")); |
| 24 case NUM_RASTER_MODES: | 24 case NUM_RASTER_MODES: |
| 25 default: | 25 default: |
| 26 NOTREACHED() << "Unrecognized RasterMode value " << raster_mode; | 26 NOTREACHED() << "Unrecognized RasterMode value " << raster_mode; |
| 27 return scoped_ptr<base::Value>( | 27 return scoped_ptr<base::Value>( |
| 28 base::Value::CreateStringValue("<unknown RasterMode value>")); | 28 base::Value::CreateStringValue("<unknown RasterMode value>")); |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 | 31 |
| 32 } // namespace cc | 32 } // namespace cc |
| OLD | NEW |