summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/proxy_module.cc
blob: 885552d72e0322a236985672f06333102c6bb69b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ppapi/proxy/proxy_module.h"

#include "base/memory/singleton.h"

namespace ppapi {
namespace proxy {

ProxyModule::ProxyModule() {
}

ProxyModule::~ProxyModule() {
}

// static
ProxyModule* ProxyModule::GetInstance() {
  return Singleton<ProxyModule>::get();
}

const std::string& ProxyModule::GetFlashCommandLineArgs() {
  return flash_command_line_args_;
}

void ProxyModule::SetFlashCommandLineArgs(const std::string& args) {
  flash_command_line_args_ = args;
}

}  // namespace proxy
}  // namespace ppapi