Plugin Power Saver: Force SW rendering for peripheral plugins.
[chromium-blink-merge.git] / ppapi / proxy / proxy_module.cc
blob885552d72e0322a236985672f06333102c6bb69b
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 "ppapi/proxy/proxy_module.h"
7 #include "base/memory/singleton.h"
9 namespace ppapi {
10 namespace proxy {
12 ProxyModule::ProxyModule() {
15 ProxyModule::~ProxyModule() {
18 // static
19 ProxyModule* ProxyModule::GetInstance() {
20 return Singleton<ProxyModule>::get();
23 const std::string& ProxyModule::GetFlashCommandLineArgs() {
24 return flash_command_line_args_;
27 void ProxyModule::SetFlashCommandLineArgs(const std::string& args) {
28 flash_command_line_args_ = args;
31 } // namespace proxy
32 } // namespace ppapi