Index: chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
index 59f75a434464eda6761aead891d6763d2be8c1ef..49f857cb716d1281cd1f6abb1def1bea94ee91d7 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc |
@@ -731,9 +731,9 @@ class HTML5FileWriter { |
private: |
static void CopyInCompletion(bool* result, |
base::WaitableEvent* done_event, |
- base::PlatformFileError error) { |
+ base::File::Error error) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- *result = error == base::PLATFORM_FILE_OK; |
+ *result = error == base::File::FILE_OK; |
done_event->Signal(); |
} |