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

Unified Diff: mojo/apps/js/bindings/monotonic_clock.h

Issue 129633005: Introduce a monotonic_clock module for Mojo.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 | « no previous file | mojo/apps/js/bindings/monotonic_clock.cc » ('j') | mojo/apps/js/bindings/monotonic_clock.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/bindings/monotonic_clock.h
diff --git a/mojo/apps/js/bindings/threading.h b/mojo/apps/js/bindings/monotonic_clock.h
similarity index 64%
copy from mojo/apps/js/bindings/threading.h
copy to mojo/apps/js/bindings/monotonic_clock.h
index ac8e221377afdeadb90036334beac1a1f2727353..097528eb21f5165fd88ea980e840acf00ae3c3eb 100644
--- a/mojo/apps/js/bindings/threading.h
+++ b/mojo/apps/js/bindings/monotonic_clock.h
@@ -2,24 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_APPS_JS_BINDINGS_THREADING_H_
-#define MOJO_APPS_JS_BINDINGS_THREADING_H_
+#ifndef MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_
+#define MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_
-#include "gin/public/wrapper_info.h"
#include "v8/include/v8.h"
namespace mojo {
namespace apps {
-class Threading {
+class MonotonicClock {
public:
static const char kModuleName[];
static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
- private:
- Threading();
};
} // namespace apps
} // namespace mojo
-#endif // MOJO_APPS_JS_BINDINGS_THREADING_H_
+#endif // MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_
« no previous file with comments | « no previous file | mojo/apps/js/bindings/monotonic_clock.cc » ('j') | mojo/apps/js/bindings/monotonic_clock.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698