1 // Copyright (c) 2011 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.
5 #include "webkit/plugins/ppapi/ppb_gpu_blacklist_private_impl.h"
7 #include "base/command_line.h"
8 #include "base/logging.h"
9 #include "webkit/plugins/plugin_switches.h"
11 // todo(nfullagar): Remove this private interface when the SRPC proxy is
12 // permanently disabled.
19 PP_Bool
IsGpuBlacklisted() {
20 CommandLine
* command_line
= CommandLine::ForCurrentProcess();
23 command_line
->HasSwitch(switches::kDisablePepper3d
));
29 const PPB_GpuBlacklist_Private ppb_gpu_blacklist
= {
34 const PPB_GpuBlacklist_Private
* PPB_GpuBlacklist_Private_Impl::GetInterface() {
35 return &ppb_gpu_blacklist
;