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

Unified Diff: snapshot/win/process_reader_win.cc

Issue 936333004: win: Add implementation of system_snapshot for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@add-time-win
Patch Set: fixes Created 5 years, 10 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 | « snapshot/win/process_reader_win.h ('k') | snapshot/win/system_snapshot_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « snapshot/win/process_reader_win.h ('k') | snapshot/win/system_snapshot_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698