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

Unified Diff: util/win/address_types.h

Issue 1052813002: win: make CrashpadInfo retrievable (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 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
Index: util/win/address_types.h
diff --git a/test/thread.cc b/util/win/address_types.h
similarity index 75%
copy from test/thread.cc
copy to util/win/address_types.h
index baeeafa632152c4edd71aa04be6a4d32a0824d2e..08ba42b720259e9e0c8001ccdff27fd60290c6be 100644
--- a/test/thread.cc
+++ b/util/win/address_types.h
@@ -12,19 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "test/thread.h"
+#ifndef CRASHPAD_UTIL_WIN_ADDRESS_TYPES_H_
+#define CRASHPAD_UTIL_WIN_ADDRESS_TYPES_H_
-#include "gtest/gtest.h"
+#include <stdint.h>
namespace crashpad {
-namespace test {
-Thread::Thread() : platform_thread_(0) {
-}
+using win_vm_address_t = uint64_t;
Mark Mentovai 2015/05/01 19:05:31 Provide a quick //! \brief for each of these sayin
Mark Mentovai 2015/05/01 19:05:31 I initially wrote a comment here suggesting WinVMA
scottmg 2015/05/01 19:46:32 Done.
scottmg 2015/05/01 19:46:32 Switched to WinVMAddress/Size.
+using win_vm_size_t = uint64_t;
-Thread::~Thread() {
- EXPECT_FALSE(platform_thread_);
-}
-
-} // namespace test
} // namespace crashpad
+
+#endif // CRASHPAD_UTIL_WIN_ADDRESS_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698