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

Unified Diff: content/shell/paths_mac.mm

Issue 9835062: Mac content shell: Set up resources properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « content/shell/paths_mac.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/paths_mac.mm
diff --git a/content/shell/paths_mac.mm b/content/shell/paths_mac.mm
index ed2ca7b872f03bf50c08dd91f3452b950f33ff2e..27162b1e343f3ddbb971d8db6cba54aa42090d6e 100644
--- a/content/shell/paths_mac.mm
+++ b/content/shell/paths_mac.mm
@@ -4,7 +4,6 @@
#include "content/shell/paths_mac.h"
-#include "base/file_path.h"
#include "base/mac/bundle_locations.h"
#include "base/mac/foundation_util.h"
#include "base/path_service.h"
@@ -50,3 +49,11 @@ void OverrideChildProcessPath() {
PathService::Override(content::CHILD_PROCESS_EXE, helper_path);
}
+
+FilePath GetResourcesPakFilePath() {
+ NSString* pak_path =
+ [base::mac::FrameworkBundle() pathForResource:@"content_shell"
+ ofType:@"pak"];
+
+ return FilePath([pak_path fileSystemRepresentation]);
+}
« no previous file with comments | « content/shell/paths_mac.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698