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 /chrome/browser/themes | |
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 'chrome/browser/themes')
-rw-r--r-- | chrome/browser/themes/browser_theme_pack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc index 28c5db2..5daf9f7 100644 --- a/chrome/browser/themes/browser_theme_pack.cc +++ b/chrome/browser/themes/browser_theme_pack.cc @@ -288,7 +288,7 @@ RefCountedMemory* ReadFileData(const FilePath& path) { if (!path.empty()) { net::FileStream file(NULL); int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ; - if (file.Open(path, flags) == net::OK) { + if (file.OpenSync(path, flags) == net::OK) { int64 avail = file.Available(); if (avail > 0 && avail < INT_MAX) { size_t size = static_cast<size_t>(avail); |