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

Unified Diff: chrome/browser/ui/cocoa/objc_method_swizzle.h

Issue 7826016: [Mac] Enable CrZombie for all processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace, and verify merge. Created 9 years, 3 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
« no previous file with comments | « chrome/browser/chrome_browser_application_mac.mm ('k') | chrome/browser/ui/cocoa/objc_method_swizzle.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/objc_method_swizzle.h
diff --git a/chrome/browser/ui/cocoa/objc_method_swizzle.h b/chrome/browser/ui/cocoa/objc_method_swizzle.h
deleted file mode 100644
index 2b9483240c03159d5d073e4793133aeacafa9e70..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/objc_method_swizzle.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2009 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.
-
-#ifndef CHROME_BROWSER_UI_COCOA_OBJC_METHOD_SWIZZLE_H_
-#define CHROME_BROWSER_UI_COCOA_OBJC_METHOD_SWIZZLE_H_
-#pragma once
-
-#import <objc/objc-class.h>
-
-// You should think twice every single time you use anything from this
-// namespace.
-namespace ObjcEvilDoers {
-
-// This is similar to class_getInstanceMethod(), except that it
-// returns NULL if |aClass| does not directly implement |aSelector|.
-Method GetImplementedInstanceMethod(Class aClass, SEL aSelector);
-
-// Exchanges the implementation of |originalSelector| and
-// |alternateSelector| within |aClass|. Both selectors must be
-// implemented directly by |aClass|, not inherited. The IMP returned
-// is for |originalSelector| (for purposes of forwarding).
-IMP SwizzleImplementedInstanceMethods(
- Class aClass, const SEL originalSelector, const SEL alternateSelector);
-
-} // namespace ObjcEvilDoers
-
-#endif // CHROME_BROWSER_UI_COCOA_OBJC_METHOD_SWIZZLE_H_
« no previous file with comments | « chrome/browser/chrome_browser_application_mac.mm ('k') | chrome/browser/ui/cocoa/objc_method_swizzle.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698