1 // Copyright 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 "mojo/public/cpp/environment/environment.h"
7 #include "mojo/public/cpp/environment/lib/buffer_tls_setup.h"
8 #include "mojo/public/cpp/utility/run_loop.h"
12 Environment::Environment() : data_(NULL) {
13 internal::SetUpCurrentBuffer();
17 Environment::~Environment() {
19 internal::TearDownCurrentBuffer();