diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 21:57:08 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 21:57:08 +0000 |
commit | d20ab94f4e849e91a3e415a405b88a23afa408c6 (patch) | |
tree | 92189e9ce3b53aaf0185f16d6a0dd2b4bb4140e6 /net/tools | |
parent | fae7753433ce0fff8e5f28bedde84f7b164bc422 (diff) | |
download | chromium_src-d20ab94f4e849e91a3e415a405b88a23afa408c6.zip chromium_src-d20ab94f4e849e91a3e415a405b88a23afa408c6.tar.gz chromium_src-d20ab94f4e849e91a3e415a405b88a23afa408c6.tar.bz2 |
net: Rename FileStream::Open/Close with OpenSync/CloseSync.
This is in preparation for implementing async versions of Open()
and Close().
The existing clients are changed to use OpenSync/CloseSync.
No logic is changed.
TEST=try bots to confirm everythign is built as before.
BUG=72001
Review URL: http://codereview.chromium.org/9349005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121064 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r-- | net/tools/dump_cache/dump_files.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc index 4fab6f2..f5656b0 100644 --- a/net/tools/dump_cache/dump_files.cc +++ b/net/tools/dump_cache/dump_files.cc @@ -27,7 +27,7 @@ const wchar_t kDataPrefix[] = L"data_"; // Reads the |header_size| bytes from the beginning of file |name|. bool ReadHeader(const std::wstring& name, char* header, int header_size) { net::FileStream file(NULL); - file.Open(FilePath::FromWStringHack(name), + file.OpenSync(FilePath::FromWStringHack(name), base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ); if (!file.IsOpen()) { printf("Unable to open file %ls\n", name.c_str()); |