summaryrefslogtreecommitdiffstats
path: root/app/app_paths.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/app_paths.cc')
-rw-r--r--app/app_paths.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/app_paths.cc b/app/app_paths.cc
index 315efec8..0007a10 100644
--- a/app/app_paths.cc
+++ b/app/app_paths.cc
@@ -55,6 +55,16 @@ bool PathProvider(int key, FilePath* result) {
create_dir = true;
#endif
break;
+ case app::FILE_RESOURCES_PAK:
+#if defined(OS_LINUX)
+ if (!PathService::Get(base::DIR_EXE, &cur))
+ return false;
+ // TODO(tony): We shouldn't be referencing chrome here.
+ cur = cur.AppendASCII("chrome.pak");
+#else
+ NOTREACHED();
+#endif
+ break;
// The following are only valid in the development environment, and
// will fail if executed from an installed executable (because the
// generated path won't exist).