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_ |