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

Unified Diff: components/filesystem/shared_temp_dir.cc

Issue 1935863002: mojo: Fix leveldb unittests by making fs::Directories cloneable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Gyp continues to exist. Created 4 years, 8 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 | « components/filesystem/shared_temp_dir.h ('k') | components/leveldb/leveldb_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/shared_temp_dir.cc
diff --git a/components/filesystem/shared_temp_dir.cc b/components/filesystem/shared_temp_dir.cc
new file mode 100644
index 0000000000000000000000000000000000000000..375b8b8e9040ab705c6b9f293bc3dc262ada2a12
--- /dev/null
+++ b/components/filesystem/shared_temp_dir.cc
@@ -0,0 +1,16 @@
+// Copyright 2016 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 "components/filesystem/shared_temp_dir.h"
+
+#include "base/files/scoped_temp_dir.h"
+
+namespace filesystem {
+
+SharedTempDir::SharedTempDir(std::unique_ptr<base::ScopedTempDir> temp_dir)
+ : temp_dir_(std::move(temp_dir)) {}
+
+SharedTempDir::~SharedTempDir() {}
+
+} // namespace filesystem
« no previous file with comments | « components/filesystem/shared_temp_dir.h ('k') | components/leveldb/leveldb_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698