| Index: snapshot/mac/process_types.cc
|
| diff --git a/util/mac/process_types.cc b/snapshot/mac/process_types.cc
|
| similarity index 97%
|
| rename from util/mac/process_types.cc
|
| rename to snapshot/mac/process_types.cc
|
| index e7e858bf822756427eafd28eafbeff609275bf14..5bb0496afe5c099285a229187874c19b9c1f00f7 100644
|
| --- a/util/mac/process_types.cc
|
| +++ b/snapshot/mac/process_types.cc
|
| @@ -12,13 +12,13 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| -#include "util/mac/process_types.h"
|
| +#include "snapshot/mac/process_types.h"
|
|
|
| #include <string.h>
|
| #include <uuid/uuid.h>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "util/mac/process_types/internal.h"
|
| +#include "snapshot/mac/process_types/internal.h"
|
| #include "util/mach/task_memory.h"
|
|
|
| namespace crashpad {
|
| @@ -135,7 +135,7 @@ inline void Assign<uuid_t, uuid_t>(uuid_t* destination, const uuid_t& source) {
|
| } /* namespace process_types */ \
|
| } /* namespace crashpad */
|
|
|
| -#include "util/mac/process_types/all.proctype"
|
| +#include "snapshot/mac/process_types/all.proctype"
|
|
|
| #undef PROCESS_TYPE_STRUCT_BEGIN
|
| #undef PROCESS_TYPE_STRUCT_MEMBER
|
| @@ -147,7 +147,7 @@ inline void Assign<uuid_t, uuid_t>(uuid_t* destination, const uuid_t& source) {
|
| // remote process. This is separated from other method implementations because
|
| // some types may wish to provide custom readers. This can be done by guarding
|
| // such types’ proctype definitions against this macro and providing custom
|
| -// implementations in util/mac/process_types/custom.cc.
|
| +// implementations in snapshot/mac/process_types/custom.cc.
|
| #define PROCESS_TYPE_STRUCT_IMPLEMENT_INTERNAL_READ_INTO 1
|
|
|
| #define PROCESS_TYPE_STRUCT_BEGIN(struct_name) \
|
| @@ -170,7 +170,7 @@ inline void Assign<uuid_t, uuid_t>(uuid_t* destination, const uuid_t& source) {
|
|
|
| #define PROCESS_TYPE_STRUCT_END(struct_name)
|
|
|
| -#include "util/mac/process_types/all.proctype"
|
| +#include "snapshot/mac/process_types/all.proctype"
|
|
|
| #undef PROCESS_TYPE_STRUCT_BEGIN
|
| #undef PROCESS_TYPE_STRUCT_MEMBER
|
| @@ -236,7 +236,7 @@ inline void Assign<uuid_t, uuid_t>(uuid_t* destination, const uuid_t& source) {
|
|
|
| #define PROCESS_TYPE_STRUCT_END(struct_name)
|
|
|
| -#include "util/mac/process_types/all.proctype"
|
| +#include "snapshot/mac/process_types/all.proctype"
|
|
|
| #undef PROCESS_TYPE_STRUCT_BEGIN
|
| #undef PROCESS_TYPE_STRUCT_MEMBER
|
|
|