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.chromium file.
5 #include "atom/common/api/locker.h"
6 #include "base/logging.h"
7 #include "tizen/common/env_variables.h"
11 Locker::Locker(v8::Isolate* isolate) {
12 if (::tizen::is_single_process)
14 if (IsBrowserProcess()) {
15 locker_.reset(new v8::Locker(isolate));