Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: mojo/apps/js/threading.h

Issue 90203002: [Mojo] Remove static "bootstrap" state in mojo_js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CHECK, CHECK, CHECK Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/apps/js/mojo_runner_delegate.cc ('k') | mojo/apps/js/threading.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/threading.h
diff --git a/mojo/apps/js/bootstrap.h b/mojo/apps/js/threading.h
similarity index 64%
rename from mojo/apps/js/bootstrap.h
rename to mojo/apps/js/threading.h
index 4355760ae1ac67df589caa0d1019215ab4dcbadf..356d1e742541fa2ec39e1525c33d05277e606eab 100644
--- a/mojo/apps/js/bootstrap.h
+++ b/mojo/apps/js/threading.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_APPS_JS_BOOTSTRAP_H_
-#define MOJO_APPS_JS_BOOTSTRAP_H_
+#ifndef MOJO_APPS_JS_THREADING_H_
+#define MOJO_APPS_JS_THREADING_H_
#include "mojo/public/system/core.h"
#include "v8/include/v8.h"
@@ -11,16 +11,13 @@
namespace mojo {
namespace apps {
-class Bootstrap {
+class Threading {
public:
static const char kModuleName[];
static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate);
-
- // Must be called before the first call to GetTemplate.
- static void SetInitialHandle(MojoHandle handle);
};
} // namespace apps
} // namespace mojo
-#endif // MOJO_APPS_JS_BOOTSTRAP_H_
+#endif // MOJO_APPS_JS_THREADING_H_
« no previous file with comments | « mojo/apps/js/mojo_runner_delegate.cc ('k') | mojo/apps/js/threading.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698