Chromium Code Reviews| Index: chrome/browser/chrome_browser_application_mac_unittest.mm |
| diff --git a/chrome/browser/chrome_browser_application_mac_unittest.mm b/chrome/browser/chrome_browser_application_mac_unittest.mm |
| index c5a589c31417ce1380b2625fe13643ab19f5849d..45115591a420def3bc48656c0db0d4920c5fa90d 100644 |
| --- a/chrome/browser/chrome_browser_application_mac_unittest.mm |
| +++ b/chrome/browser/chrome_browser_application_mac_unittest.mm |
| @@ -1,10 +1,11 @@ |
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2011 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. |
| #import <Cocoa/Cocoa.h> |
| #include "base/metrics/histogram.h" |
| +#import "base/mac/scoped_nsexception_enabler.h" |
|
Robert Sesek
2011/11/10 20:59:47
nit: alphabetize
Scott Hess - ex-Googler
2011/11/10 21:06:51
I hate you.
More precisely, I hate my aged eyes a
|
| #import "chrome/browser/chrome_browser_application_mac.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| @@ -15,6 +16,8 @@ namespace chrome_browser_application_mac { |
| // Generate an NSException with the given name. |
| NSException* ExceptionNamed(NSString* name) { |
| + base::mac::ScopedNSExceptionEnabler enabler; |
| + |
| return [NSException exceptionWithName:name |
| reason:@"No reason given" |
| userInfo:nil]; |