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

Unified Diff: services/shell/public/c/main.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 | « services/shell/native_runner_delegate.h ('k') | services/shell/public/constants.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/c/main.h
diff --git a/services/shell/public/c/main.h b/services/shell/public/c/main.h
deleted file mode 100644
index bae2fdc7a6da2a956a08726d6f5b7dce96ceb5fe..0000000000000000000000000000000000000000
--- a/services/shell/public/c/main.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2016 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 SERVICES_SHELL_PUBLIC_C_MAIN_H_
-#define SERVICES_SHELL_PUBLIC_C_MAIN_H_
-
-#include "mojo/public/c/system/types.h"
-
-// Implement ServiceMain directly as the entry point for a service.
-//
-// MojoResult ServiceMain(MojoHandle service_request) {
-// ...
-// }
-//
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
-#if defined(WIN32)
-__declspec(dllexport) MojoResult
- __cdecl ServiceMain(MojoHandle application_request);
-#else // !defined(WIN32)
-__attribute__((visibility("default"))) MojoResult
- ServiceMain(MojoHandle service_provider_handle);
-#endif // defined(WIN32)
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // SERVICES_SHELL_PUBLIC_C_MAIN_H_
« no previous file with comments | « services/shell/native_runner_delegate.h ('k') | services/shell/public/constants.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698