Index: extensions/shell/app/shell_main_mac.h |
diff --git a/extensions/shell/app/shell_main_mac.h b/extensions/shell/app/shell_main_mac.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..df3ff5b73e4b99a7ebf0a53b106cd8fbaf7bc2c7 |
--- /dev/null |
+++ b/extensions/shell/app/shell_main_mac.h |
@@ -0,0 +1,17 @@ |
+// 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 EXTENSIONS_SHELL_APP_SHELL_MAIN_MAC_H_ |
+#define EXTENSIONS_SHELL_APP_SHELL_MAIN_MAC_H_ |
+ |
+#include "base/basictypes.h" |
James Cook
2014/12/10 21:05:00
Does this really need basictypes.h? Or macros.h?
Yoyo Zhou
2014/12/11 02:40:50
I figured out it needed build/build_config.h for O
|
+ |
+#if defined(OS_MACOSX) |
+extern "C" { |
+__attribute__((visibility("default"))) int ContentMain(int argc, |
+ const char** argv); |
+} // extern "C" |
+#endif // OS_MACOSX |
+ |
+#endif // CONTENT_SHELL_APP_SHELL_CONTENT_MAIN_H_ |