summaryrefslogtreecommitdiffstats
path: root/base/platform_file_win.cc
diff options
context:
space:
mode:
authorvictorhsieh@chromium.org <victorhsieh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-23 04:22:33 +0000
committervictorhsieh@chromium.org <victorhsieh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-23 04:22:33 +0000
commit713d6112e647209706eb76d54b9150fe0dbc36e5 (patch)
tree23840dd1951267a6ad2e1ea8c11a079d53a3caa9 /base/platform_file_win.cc
parent1227069df093ce4f8a78c2396c7408770c1740d7 (diff)
downloadchromium_src-713d6112e647209706eb76d54b9150fe0dbc36e5.zip
chromium_src-713d6112e647209706eb76d54b9150fe0dbc36e5.tar.gz
chromium_src-713d6112e647209706eb76d54b9150fe0dbc36e5.tar.bz2
Remove unnecessary if !defined(OS_NACL)
BUG= Review URL: https://chromiumcodereview.appspot.com/15648002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file_win.cc')
-rw-r--r--base/platform_file_win.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc
index da1da5b..cdc06bd 100644
--- a/base/platform_file_win.cc
+++ b/base/platform_file_win.cc
@@ -286,10 +286,8 @@ PlatformFileError LastErrorToPlatformFileError(DWORD last_error) {
case ERROR_DISK_CORRUPT:
return PLATFORM_FILE_ERROR_IO;
default:
-#if !defined(OS_NACL) // NaCl build has no metrics code.
UMA_HISTOGRAM_SPARSE_SLOWLY("PlatformFile.UnknownErrors.Windows",
last_error);
-#endif
return PLATFORM_FILE_ERROR_FAILED;
}
}