Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc

Issue 109733004: Revert 243336 "Revert 243291 "[Buildfix] Fix PlatformFileInfo us..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc (revision 243339)
+++ trunk/src/chrome/browser/ui/pdf/pdf_browsertest.cc (working copy)
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/file_util.h"
+#include "base/files/file.h"
#include "base/files/file_enumerator.h"
#include "base/hash.h"
#include "base/path_service.h"
@@ -129,7 +130,7 @@
base::FilePath reference = ui_test_utils::GetTestFilePath(
GetPDFTestDir(),
base::FilePath().AppendASCII(expected_filename_));
- base::PlatformFileInfo info;
+ base::File::Info info;
ASSERT_TRUE(base::GetFileInfo(reference, &info));
int size = static_cast<size_t>(info.size);
scoped_ptr<char[]> data(new char[size]);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698