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

Unified Diff: content/child/blink_platform_impl.cc

Issue 316373003: Remove base::kInvalidPlatformFileValue from Content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « content/child/blink_platform_impl.h ('k') | content/renderer/pepper/pepper_broker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 5a368439f463ef36e6a5e92c7d1ee3acb47415c7..ab0afb6a58fae65a5a38bc432b1c3c6948ff986e 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -17,7 +17,6 @@
#include "base/metrics/histogram.h"
#include "base/metrics/sparse_histogram.h"
#include "base/metrics/stats_counters.h"
-#include "base/platform_file.h"
#include "base/process/process_metrics.h"
#include "base/rand_util.h"
#include "base/strings/string_number_conversions.h"
@@ -920,9 +919,13 @@ WebFallbackThemeEngine* BlinkPlatformImpl::fallbackThemeEngine() {
return &fallback_theme_engine_;
}
-base::PlatformFile BlinkPlatformImpl::databaseOpenFile(
+blink::Platform::FileHandle BlinkPlatformImpl::databaseOpenFile(
const blink::WebString& vfs_file_name, int desired_flags) {
- return base::kInvalidPlatformFileValue;
+#if defined(OS_WIN)
+ return INVALID_HANDLE_VALUE;
+#elif defined(OS_POSIX)
+ return -1;
+#endif
}
int BlinkPlatformImpl::databaseDeleteFile(
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/renderer/pepper/pepper_broker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698