Index: chrome/browser/chrome_browser_application_mac.h |
=================================================================== |
--- chrome/browser/chrome_browser_application_mac.h (revision 30825) |
+++ chrome/browser/chrome_browser_application_mac.h (working copy) |
@@ -2,41 +2,38 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_CHROME_APPLICATION_MAC_H_ |
-#define CHROME_BROWSER_CHROME_APPLICATION_MAC_H_ |
+#ifndef CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
+#define CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |
#ifdef __OBJC__ |
-#import <AppKit/AppKit.h> |
+#import "base/chrome_application_mac.h" |
-@interface CrApplication : NSApplication |
+@interface BrowserCrApplication : CrApplication |
@end |
-// Namespace for exception-reporting helper functions. Exposed for |
-// testing purposes. |
-namespace CrApplicationNSException { |
+namespace chrome_browser_application_mac { |
-// Bin for unknown exceptions. |
+// Bin for unknown exceptions. Exposed for testing purposes. |
extern const size_t kUnknownNSException; |
// Returns the histogram bin for |exception| if it is one we track |
-// specifically, or |kUnknownNSException| if unknown. |
+// specifically, or |kUnknownNSException| if unknown. Exposed for testing |
+// purposes. |
size_t BinForException(NSException* exception); |
-// Use UMA to track exception occurance. |
+// Use UMA to track exception occurance. Exposed for testing purposes. |
void RecordExceptionWithUma(NSException* exception); |
-} // CrApplicationNSException |
+} // namespace chrome_browser_application_mac |
#endif // __OBJC__ |
-// CrApplicationCC provides access to CrApplication Objective-C selectors from |
-// C++ code. |
-namespace CrApplicationCC { |
+namespace chrome_browser_application_mac { |
// Calls -[NSApp terminate:]. |
void Terminate(); |
-} // namespace CrApplicationCC |
+} // namespace chrome_browser_application_mac |
-#endif // CHROME_BROWSER_CHROME_APPLICATION_MAC_H_ |
+#endif // CHROME_BROWSER_CHROME_BROWSER_APPLICATION_MAC_H_ |