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

Unified Diff: base/native_library.h

Issue 12793004: [Mac] Do not unload base::NativeLibary-ies if they contain ObjC segments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | base/native_library_mac.mm » ('j') | base/native_library_mac.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/native_library.h
diff --git a/base/native_library.h b/base/native_library.h
index 37d72295d678509274ca81a7b384b8b220c23689..7b1f53239ded77c536735b0686e61ae47dcfc945 100644
--- a/base/native_library.h
+++ b/base/native_library.h
@@ -14,6 +14,7 @@
#if defined(OS_WIN)
#include <windows.h>
#elif defined(OS_MACOSX)
+#include "base/files/file_path.h"
Mark Mentovai 2013/03/12 19:19:31 Dunno if I’d have bothered making this OS-conditio
#import <CoreFoundation/CoreFoundation.h>
#endif // OS_*
@@ -40,6 +41,7 @@ enum NativeLibraryType {
struct NativeLibraryStruct {
NativeLibraryType type;
CFBundleRefNum bundle_resource_ref;
+ base::FilePath image_path;
union {
CFBundleRef bundle;
void* dylib;
« no previous file with comments | « no previous file | base/native_library_mac.mm » ('j') | base/native_library_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698