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

Unified Diff: mojo/public/c/system/main.h

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 | « mojo/public/c/system/macros.h ('k') | mojo/public/c/system/message_pipe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/main.h
diff --git a/mojo/public/c/system/main.h b/mojo/public/c/system/main.h
deleted file mode 100644
index 31e20120e15f5cc18aee1244bfb38b1ae770c872..0000000000000000000000000000000000000000
--- a/mojo/public/c/system/main.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_PUBLIC_C_SYSTEM_MAIN_H_
-#define MOJO_PUBLIC_C_SYSTEM_MAIN_H_
-
-#include "mojo/public/c/system/types.h"
-
-// Implement MojoMain directly as the entry point for an application.
-//
-// MojoResult MojoMain(MojoHandle service_provider_handle) {
-// ...
-// }
-//
-// TODO(davemoore): Establish this as part of our SDK for third party mojo
-// application writers.
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
-#if defined(WIN32)
-__declspec(dllexport) MojoResult
- __cdecl MojoMain(MojoHandle service_provider_handle);
-#else // !defined(WIN32)
-__attribute__((visibility("default"))) MojoResult
- MojoMain(MojoHandle service_provider_handle);
-#endif // defined(WIN32)
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // MOJO_PUBLIC_C_SYSTEM_MAIN_H_
« no previous file with comments | « mojo/public/c/system/macros.h ('k') | mojo/public/c/system/message_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698