Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Side by Side Diff: chrome/browser/gpu_blacklist_unittest.cc

Issue 10907098: Revert 155218 - Move gpu blacklist to content side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu_blacklist.cc ('k') | chrome/browser/gpu_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/gpu_blacklist.cc ('k') | chrome/browser/gpu_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698