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

Unified Diff: mojo/monacl/mojo_syscall.h

Issue 385983008: Mojo + NaCl prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GYP edit Created 6 years, 3 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
Index: mojo/monacl/mojo_syscall.h
diff --git a/components/sessions/session_id.cc b/mojo/monacl/mojo_syscall.h
similarity index 52%
copy from components/sessions/session_id.cc
copy to mojo/monacl/mojo_syscall.h
index 6999a2a20105fa16cb493c1359d3274d4c09f3a9..402772ed0069a7002dfe46fd901399d48451ac31 100644
--- a/components/sessions/session_id.cc
+++ b/mojo/monacl/mojo_syscall.h
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sessions/session_id.h"
+#ifndef MOJO_MONACL_MONACL_SYSCALL_H_
+#define MOJO_MONACL_MONACL_SYSCALL_H_
-static SessionID::id_type next_id = 1;
+void InjectMojo(struct NaClApp *nap);
Mark Seaborn 2014/09/09 19:13:12 "* " spacing
Nick Bray (chromium) 2014/09/09 23:12:33 Done.
-SessionID::SessionID() {
- id_ = next_id++;
-}
+#endif // MOJO_MONACL_MONACL_SYSCALL_H_

Powered by Google App Engine
This is Rietveld 408576698