| Index: ui/base/ui_base_paths.cc
|
| ===================================================================
|
| --- ui/base/ui_base_paths.cc (revision 132528)
|
| +++ ui/base/ui_base_paths.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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.
|
|
|
| @@ -32,6 +32,16 @@
|
| #endif
|
| create_dir = true;
|
| break;
|
| + case ui::FILE_RESOURCES_PAK:
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| + 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).
|
|
|