QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / ppapi / cpp / private / internal_module.cc
blob1615e877817d96884a5ad9e69153499c5bb7634d
1 // Copyright (c) 2014 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/cpp/module.h"
6 #include "ppapi/cpp/private/internal_module.h"
8 namespace pp {
9 namespace {
10 static Module* g_module_singleton = NULL;
11 } // namespace
13 Module* Module::Get() {
14 return g_module_singleton;
17 void InternalSetModuleSingleton(Module* module) {
18 g_module_singleton = module;
21 } // namespace pp