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

Unified Diff: chrome/test/file_test_utils.h

Issue 7008012: Delete FileAutoDeleter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « chrome/chrome_tests.gypi ('k') | chrome/test/file_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/file_test_utils.h
===================================================================
--- chrome/test/file_test_utils.h (revision 86785)
+++ chrome/test/file_test_utils.h (working copy)
@@ -1,25 +0,0 @@
-// Copyright (c) 2010 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.
-
-#ifndef CHROME_TEST_FILE_TEST_UTILS_H_
-#define CHROME_TEST_FILE_TEST_UTILS_H_
-#pragma once
-
-#include "base/file_path.h"
-#include "base/file_util.h"
-
-// Auto deletes file/folder when it goes out-of-scope. This is useful for tests
-// to cleanup files/folder automatically.
-class FileAutoDeleter {
- public:
- explicit FileAutoDeleter(const FilePath& path);
- ~FileAutoDeleter();
-
- const FilePath& path() { return path_; }
- private:
- FilePath path_;
- DISALLOW_COPY_AND_ASSIGN(FileAutoDeleter);
-};
-
-#endif // CHROME_TEST_FILE_TEST_UTILS_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/file_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698