OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 Version os_version("10.6.4"); | 976 Version os_version("10.6.4"); |
977 | 977 |
978 scoped_ptr<GpuBlacklist> blacklist(Create()); | 978 scoped_ptr<GpuBlacklist> blacklist(Create()); |
979 EXPECT_TRUE(blacklist->LoadGpuBlacklist( | 979 EXPECT_TRUE(blacklist->LoadGpuBlacklist( |
980 video_decode_json, GpuBlacklist::kAllOs)); | 980 video_decode_json, GpuBlacklist::kAllOs)); |
981 GpuFeatureType type = blacklist->DetermineGpuFeatureType( | 981 GpuFeatureType type = blacklist->DetermineGpuFeatureType( |
982 GpuBlacklist::kOsMacosx, &os_version, gpu_info()); | 982 GpuBlacklist::kOsMacosx, &os_version, gpu_info()); |
983 EXPECT_EQ(type, content::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE); | 983 EXPECT_EQ(type, content::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE); |
984 } | 984 } |
985 | 985 |
OLD | NEW |