summaryrefslogtreecommitdiffstats
path: root/mojo/apps/js/threading.h
blob: 356d1e742541fa2ec39e1525c33d05277e606eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 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.

#ifndef MOJO_APPS_JS_THREADING_H_
#define MOJO_APPS_JS_THREADING_H_

#include "mojo/public/system/core.h"
#include "v8/include/v8.h"

namespace mojo {
namespace apps {

class Threading {
 public:
  static const char kModuleName[];
  static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate);
};

}  // namespace apps
}  // namespace mojo

#endif  // MOJO_APPS_JS_THREADING_H_