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

Unified Diff: content/browser/indexed_db/leveldb/leveldb_database.cc

Issue 168833003: Remove uses of PlatformFile from leveldb (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: content/browser/indexed_db/leveldb/leveldb_database.cc
diff --git a/content/browser/indexed_db/leveldb/leveldb_database.cc b/content/browser/indexed_db/leveldb/leveldb_database.cc
index c5e7b2d00c3abb62ba0d643152f26950c095cd31..dbe97b687c3842c0528a32c8cc0a31be935656b1 100644
--- a/content/browser/indexed_db/leveldb/leveldb_database.cc
+++ b/content/browser/indexed_db/leveldb/leveldb_database.cc
@@ -7,6 +7,7 @@
#include <cerrno>
#include "base/basictypes.h"
+#include "base/files/file.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
@@ -197,8 +198,8 @@ static void ParseAndHistogramIOErrorDetails(const std::string& histogram_name,
base::LinearHistogram::FactoryGet(
error_histogram_name,
1,
- -base::PLATFORM_FILE_ERROR_MAX,
- -base::PLATFORM_FILE_ERROR_MAX + 1,
+ -base::File::FILE_ERROR_MAX,
+ -base::File::FILE_ERROR_MAX + 1,
base::HistogramBase::kUmaTargetedHistogramFlag)->Add(-error);
} else if (result == leveldb_env::METHOD_AND_ERRNO) {
error_histogram_name.append(std::string(".Errno.") +
« no previous file with comments | « content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc ('k') | third_party/leveldatabase/env_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698