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

Unified Diff: chrome/test/base/in_process_browser_test.h

Issue 1211213003: mac: Swizzle out +[NSBundle mainBundle] for in process browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line. Created 5 years, 5 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
Index: chrome/test/base/in_process_browser_test.h
diff --git a/chrome/test/base/in_process_browser_test.h b/chrome/test/base/in_process_browser_test.h
index c6eb60acfef10fc61f1b9ea4133897939ff6171c..e516f4ead1ae3bbd538eb9276b2ec54bb09d6b6f 100644
--- a/chrome/test/base/in_process_browser_test.h
+++ b/chrome/test/base/in_process_browser_test.h
@@ -34,6 +34,9 @@ class ScopedCOMInitializer;
class Browser;
class Profile;
+#if defined(OS_MACOSX)
+class ScopedBundleSwizzlerMac;
+#endif // defined(OS_MACOSX)
namespace content {
class ContentRendererClient;
@@ -224,6 +227,7 @@ class InProcessBrowserTest : public content::BrowserTestBase {
#if defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool* autorelease_pool_;
+ scoped_ptr<ScopedBundleSwizzlerMac> bundle_swizzler_;
Paweł Hajdan Jr. 2015/07/08 10:01:13 Wouldn't the same apply to say content_browsertest
erikchen 2015/07/08 17:48:38 I don't believe so. If you look at content_browse
#endif // OS_MACOSX
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698