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: base/files/scoped_temp_dir.h

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/important_file_writer_unittest.cc ('k') | base/files/scoped_temp_dir.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/scoped_temp_dir.h
diff --git a/base/scoped_temp_dir.h b/base/files/scoped_temp_dir.h
similarity index 92%
rename from base/scoped_temp_dir.h
rename to base/files/scoped_temp_dir.h
index 94acefcb16b01578b7419ebf8b3f5d4607df18dd..641e7ef7230893d03fc9b405259e60237fce584c 100644
--- a/base/scoped_temp_dir.h
+++ b/base/files/scoped_temp_dir.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_SCOPED_TEMP_DIR_H_
-#define BASE_SCOPED_TEMP_DIR_H_
+#ifndef BASE_FILES_SCOPED_TEMP_DIR_H_
+#define BASE_FILES_SCOPED_TEMP_DIR_H_
// An object representing a temporary / scratch directory that should be cleaned
// up (recursively) when this object goes out of scope. Note that since
@@ -18,6 +18,8 @@
#include "base/base_export.h"
#include "base/file_path.h"
+namespace base {
+
class BASE_EXPORT ScopedTempDir {
public:
// No directory is owned/created initially.
@@ -55,4 +57,6 @@ class BASE_EXPORT ScopedTempDir {
DISALLOW_COPY_AND_ASSIGN(ScopedTempDir);
};
-#endif // BASE_SCOPED_TEMP_DIR_H_
+} // namespace base
+
+#endif // BASE_FILES_SCOPED_TEMP_DIR_H_
« no previous file with comments | « base/files/important_file_writer_unittest.cc ('k') | base/files/scoped_temp_dir.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698