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

Unified Diff: mojo/system/entrypoints.h

Issue 231353002: Make mojo_system static and mojo_system_impl a component, never use both (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get content builds to work Created 6 years, 8 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/system/entrypoints.h
diff --git a/mojo/system/entrypoints.h b/mojo/system/entrypoints.h
new file mode 100644
index 0000000000000000000000000000000000000000..c8048ea109f613bc98f284045af9fbdfb01423d3
--- /dev/null
+++ b/mojo/system/entrypoints.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
viettrungluu 2014/04/10 19:38:06 Missing include guards (even if this file could be
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+namespace mojo {
+namespace system {
+class Core;
viettrungluu 2014/04/10 19:38:06 nit: add a blank line above?
+
+namespace entrypoints {
+
+// Sets the instance of Core to be used by system functions.
+void SetCore(Core* core);
+// Gets the instance of Core to be used by system functions.
+Core* GetCore();
+
+} // namespace entrypoints
+} // namepace system
+} // namespace mojo
+
viettrungluu 2014/04/10 19:38:06 I have a totally irrational pet peeve against extr

Powered by Google App Engine
This is Rietveld 408576698