diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 00:11:06 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 00:11:06 +0000 |
commit | 8881d8794f13bf12d8ed7ce93fd163b9992aeb28 (patch) | |
tree | ee681ad655fca29c7946d0c57fe3908080d236c7 /base/file_util_linux.cc | |
parent | 77848d1c600524c50dee24c055b21a210f02e52f (diff) | |
download | chromium_src-8881d8794f13bf12d8ed7ce93fd163b9992aeb28.zip chromium_src-8881d8794f13bf12d8ed7ce93fd163b9992aeb28.tar.gz chromium_src-8881d8794f13bf12d8ed7ce93fd163b9992aeb28.tar.bz2 |
Unfork test_shell_main_gtk back into test_shell_main.
Still doesn't run layout tests, but it's unforked and runs.
Review URL: http://codereview.chromium.org/10905
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_linux.cc')
-rw-r--r-- | base/file_util_linux.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_util_linux.cc b/base/file_util_linux.cc index f776c91..945200a 100644 --- a/base/file_util_linux.cc +++ b/base/file_util_linux.cc @@ -26,6 +26,10 @@ bool GetTempDir(FilePath* path) { return true; } +FILE* OpenFile(const FilePath& filename, const char* mode) { + return fopen(filename.value().c_str(), mode); +} + bool CopyFile(const FilePath& from_path, const FilePath& to_path) { int infile = open(from_path.value().c_str(), O_RDONLY); if (infile < 0) |