Index: snapshot/win/process_reader_win.cc |
diff --git a/util/test/scoped_temp_dir.cc b/snapshot/win/process_reader_win.cc |
similarity index 66% |
copy from util/test/scoped_temp_dir.cc |
copy to snapshot/win/process_reader_win.cc |
index a2f8d251430fde0adc2227365c539f34ab6d335d..77fe0e242d1ef5dbd6284d16013343b8e0863f58 100644 |
--- a/util/test/scoped_temp_dir.cc |
+++ b/snapshot/win/process_reader_win.cc |
@@ -12,17 +12,23 @@ |
// See the License for the specific language governing permissions and |
// limitations under the License. |
-#include "util/test/scoped_temp_dir.h" |
+#include "snapshot/win/process_reader_win.h" |
namespace crashpad { |
-namespace test { |
-ScopedTempDir::ScopedTempDir() : path_(CreateTemporaryDirectory()) { |
+ProcessReaderWin::ProcessReaderWin() |
+ : initialized_(), |
+ is_64_bit_(false) { |
} |
-ScopedTempDir::~ScopedTempDir() { |
- RecursivelyDeleteTemporaryDirectory(path()); |
+ProcessReaderWin::~ProcessReaderWin() { |
+} |
+ |
+bool ProcessReaderWin::Initialize(HANDLE process) { |
+ INITIALIZATION_STATE_SET_INITIALIZING(initialized_); |
+ |
+ INITIALIZATION_STATE_SET_VALID(initialized_); |
+ return true; |
} |
-} // namespace test |
} // namespace crashpad |