[email protected] | 747ab0d4 | 2011-05-03 19:13:43 | [diff] [blame] | 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. | ||||
4 | |||||
5 | #include "ppapi/proxy/proxy_module.h" | ||||
6 | |||||
7 | #include "base/memory/singleton.h" | ||||
8 | |||||
[email protected] | 4d2efd2 | 2011-08-18 21:58:02 | [diff] [blame] | 9 | namespace ppapi { |
[email protected] | 747ab0d4 | 2011-05-03 19:13:43 | [diff] [blame] | 10 | namespace proxy { |
11 | |||||
12 | ProxyModule::ProxyModule() { | ||||
13 | } | ||||
14 | |||||
15 | ProxyModule::~ProxyModule() { | ||||
16 | } | ||||
17 | |||||
18 | // static | ||||
19 | ProxyModule* ProxyModule::GetInstance() { | ||||
20 | return Singleton<ProxyModule>::get(); | ||||
21 | } | ||||
22 | |||||
23 | const std::string& ProxyModule::GetFlashCommandLineArgs() { | ||||
24 | return flash_command_line_args_; | ||||
25 | } | ||||
26 | |||||
27 | void ProxyModule::SetFlashCommandLineArgs(const std::string& args) { | ||||
28 | flash_command_line_args_ = args; | ||||
29 | } | ||||
30 | |||||
31 | } // namespace proxy | ||||
[email protected] | 4d2efd2 | 2011-08-18 21:58:02 | [diff] [blame] | 32 | } // namespace ppapi |