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

Unified Diff: base/files/scoped_platform_file_closer.cc

Issue 326383005: Remove base/platform_file.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | « base/files/scoped_platform_file_closer.h ('k') | base/platform_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/scoped_platform_file_closer.cc
diff --git a/base/files/scoped_platform_file_closer.cc b/base/files/scoped_platform_file_closer.cc
deleted file mode 100644
index 44f67521b8820e3424f568f063bbeb8988302f0c..0000000000000000000000000000000000000000
--- a/base/files/scoped_platform_file_closer.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/files/scoped_platform_file_closer.h"
-
-namespace base {
-namespace internal {
-
-void PlatformFileCloser::operator()(PlatformFile* file) const {
- if (file && *file != kInvalidPlatformFileValue)
- ClosePlatformFile(*file);
-}
-
-} // namespace internal
-} // namespace base
« no previous file with comments | « base/files/scoped_platform_file_closer.h ('k') | base/platform_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698