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

Unified Diff: services/js/modules/clock/monotonic_clock.h

Issue 703023004: Move the JS content handler et al from mojo/apps/js to mojo/services (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed DEPS gl build Created 6 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 | « services/js/modules/clock/BUILD.gn ('k') | services/js/modules/clock/monotonic_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/modules/clock/monotonic_clock.h
diff --git a/mojo/apps/js/bindings/monotonic_clock.h b/services/js/modules/clock/monotonic_clock.h
similarity index 63%
rename from mojo/apps/js/bindings/monotonic_clock.h
rename to services/js/modules/clock/monotonic_clock.h
index 6278821e8f8445348b3e466de6bfedde49def234..3b08e19d4d7c9a2b29dd0374a58f13b96aacb7f4 100644
--- a/mojo/apps/js/bindings/monotonic_clock.h
+++ b/services/js/modules/clock/monotonic_clock.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_
-#define MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_
+#ifndef MOJO_SERVICES_JS_MODULES_CLOCK_MONOTONIC_CLOCK_H_
+#define MOJO_SERVICES_JS_MODULES_CLOCK_MONOTONIC_CLOCK_H_
#include "v8/include/v8.h"
namespace mojo {
-namespace apps {
+namespace js {
class MonotonicClock {
public:
@@ -16,7 +16,7 @@ class MonotonicClock {
static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
};
-} // namespace apps
+} // namespace js
} // namespace mojo
-#endif // MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_
+#endif // MOJO_SERVICES_JS_MODULES_CLOCK_MONOTONIC_CLOCK_H_
« no previous file with comments | « services/js/modules/clock/BUILD.gn ('k') | services/js/modules/clock/monotonic_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698