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

Unified Diff: chrome/common/chrome_application_mac.h

Issue 6065007: Mac: Unbreak --no-gpu-sandbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « no previous file | chrome/common/chrome_application_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_application_mac.h
diff --git a/chrome/common/chrome_application_mac.h b/chrome/common/chrome_application_mac.h
index 585601d8153f2f019736629787a7bdb20b28cc12..1de362731bb8f13ec27013a7e9c262f6e4a1c478 100644
--- a/chrome/common/chrome_application_mac.h
+++ b/chrome/common/chrome_application_mac.h
@@ -6,6 +6,8 @@
#define CHROME_COMMON_CHROME_APPLICATION_MAC_H_
#pragma once
+#if defined(__OBJC__)
+
#import <AppKit/AppKit.h>
#include "base/basictypes.h"
@@ -57,4 +59,13 @@ class ScopedSendingEvent {
} // chrome_application_mac
Mark Mentovai 2010/12/23 21:39:22 Nit: this line and line 69 should be “// namespace
+#endif // defined(__OBJC__)
+
+namespace chrome_application_mac {
+
+// To be used to instantiate CrApplication from C++ code.
+void RegisterCrApp();
+
+} // chrome_application_mac
+
#endif // CHROME_COMMON_CHROME_APPLICATION_MAC_H_
« no previous file with comments | « no previous file | chrome/common/chrome_application_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698