summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authortapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 12:03:48 +0000
committertapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 12:05:27 +0000
commit0b7f85234f13b9e644cb63be4b560a26e0c09c2e (patch)
treef2e0695554513feb1c32f1d9410c59b8bc97da72 /base/base.gypi
parent5f01d48039db9d83409290e3f2ebd5c159e97a9e (diff)
downloadchromium_src-0b7f85234f13b9e644cb63be4b560a26e0c09c2e.zip
chromium_src-0b7f85234f13b9e644cb63be4b560a26e0c09c2e.tar.gz
chromium_src-0b7f85234f13b9e644cb63be4b560a26e0c09c2e.tar.bz2
Add ScopedObjCClassSwizzler in base/mac, absorbs objc_method_swizzle and ScopedClassSwizzler
ScopedClassSwizzler from ui/test is wanted for new tests where it can't currently be accessed. It also re-implements a concept in chrome/common/mac/objc_method_swizzle.* This change adds base::mac::ScopedObjCClassSwizzler, merges concepts from objc_method_swizzle, and adjusts chrome_browser_application_mac.mm to use the new swizzler. The test from objc_method_swizzle is adapted and extended for the scoped swizzler. BUG=378134 TEST=base_unittests Review URL: https://codereview.chromium.org/345243007 Cr-Commit-Position: refs/heads/master@{#288943} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 7560e8f..fd64aef 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -304,6 +304,8 @@
'mac/scoped_nsexception_enabler.h',
'mac/scoped_nsexception_enabler.mm',
'mac/scoped_nsobject.h',
+ 'mac/scoped_objc_class_swizzler.h',
+ 'mac/scoped_objc_class_swizzler.mm',
'mac/scoped_sending_event.h',
'mac/scoped_sending_event.mm',
'mac/scoped_typeref.h',