#include "base/command_line.h"
#include "base/debug/profiler.h"
#include "base/debug/trace_event.h"
-#include "base/file_util.h"
+#include "base/files/file_util.h"
#include "base/hash.h"
#include "base/metrics/field_trial.h"
#include "base/path_service.h"
PROCESS_QUERY_INFORMATION,
FALSE, 0));
base::win::ScopedHandle process(temp_handle);
- CHECK(::IsProcessInJob(process, NULL, &is_in_job));
+ CHECK(::IsProcessInJob(process.Get(), NULL, &is_in_job));
}
}
base::win::ScopedHandle handle(temp_handle);
// Callers use CHECK macro to make sure we get the right stack.
- CheckDuplicateHandle(handle);
+ CheckDuplicateHandle(handle.Get());
}
return TRUE;
target_process_id));
if (target_process.IsValid()) {
return !!::DuplicateHandle(::GetCurrentProcess(), source_handle,
- target_process, target_handle,
+ target_process.Get(), target_handle,
desired_access, FALSE, options);
}