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

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

Issue 65943002: Add a basic Mojo app that initializes V8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base dependency 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/main.cc ('k') | mojo/apps/js/v8_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/v8_environment.h
diff --git a/apps/switches.cc b/mojo/apps/js/v8_environment.h
similarity index 54%
copy from apps/switches.cc
copy to mojo/apps/js/v8_environment.h
index 60f94175f67827ed2e4b08d87be6a9b2c3a4122e..88d1963646f4e73c13a7c99046c4eb53385f96f4 100644
--- a/apps/switches.cc
+++ b/mojo/apps/js/v8_environment.h
@@ -2,11 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "apps/switches.h"
+#ifndef MOJO_APPS_JS_V8_ENVIRONMENT_H_
+#define MOJO_APPS_JS_V8_ENVIRONMENT_H_
+namespace mojo {
namespace apps {
-// Loads an app from the specified directory and launches it.
-const char kLoadAndLaunchApp[] = "load-and-launch-app";
+void InitializeV8();
} // namespace apps
+} // mojo
+
+#endif // MOJO_APPS_JS_V8_ENVIRONMENT_H_
« no previous file with comments | « mojo/apps/js/main.cc ('k') | mojo/apps/js/v8_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698