Take 108 base/files/file_win.cc return file_.Take(); Take 47 base/files/scoped_temp_dir.h FilePath Take(); Take 34 base/files/scoped_temp_dir_unittest.cc FilePath path = dir.Take(); Take 91 base/files/scoped_temp_dir_unittest.cc EXPECT_TRUE(other_dir.Set(dir.Take())); Take 33 base/memory/scoped_handle.h FILE* Take() { Take 239 base/process/launch_win.cc *process_handle = process.Take(); Take 96 base/sync_socket_win.cc *socket_a = handle_a.Take(); Take 97 base/sync_socket_win.cc *socket_b = handle_b.Take(); Take 54 base/win/registry.h HKEY Take(); Take 48 base/win/scoped_handle.h Set(other.object->Take()); Take 62 base/win/scoped_handle.h Set(other.object->Take()); Take 88 base/win/scoped_handle.h Handle Take() { Take 87 base/win/scoped_process_information.cc process_information.hProcess = process_handle_.Take(); Take 88 base/win/scoped_process_information.cc process_information.hThread = thread_handle_.Take(); Take 99 base/win/scoped_process_information.cc return process_handle_.Take(); Take 104 base/win/scoped_process_information.cc return thread_handle_.Take(); Take 41 base/win/scoped_process_information.h PROCESS_INFORMATION Take(); Take 73 base/win/scoped_process_information_unittest.cc PROCESS_INFORMATION to_discard = process_info.Take(); Take 85 base/win/scoped_process_information_unittest.cc PROCESS_INFORMATION to_discard = process_info.Take(); Take 97 base/win/scoped_process_information_unittest.cc PROCESS_INFORMATION to_discard = process_info.Take(); Take 107 base/win/scoped_process_information_unittest.cc PROCESS_INFORMATION to_discard = process_info.Take(); Take 114 base/win/scoped_process_information_unittest.cc PROCESS_INFORMATION to_discard = process_info.Take(); Take 156 base/win/scoped_process_information_unittest.cc PROCESS_INFORMATION base_struct = base_process_info.Take(); Take 165 base/win/scoped_process_information_unittest.cc base_struct = process_info.Take(); Take 231 chrome/app/chrome_breakpad_client.cc g_browser_crash_dump_regkey = regkey.Take(); Take 172 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *process_handle = cmd_handle.Take(); Take 173 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *read_file = base::File(stdout_pipe.Take()); Take 174 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *write_file = base::File(stdin_pipe.Take()); Take 195 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc base::FilePath missing_directory = temp_dir.Take(); Take 189 chrome/browser/extensions/convert_user_script.cc temp_dir.Take(); // The caller takes ownership of the directory. Take 171 chrome/browser/extensions/convert_web_app.cc temp_dir.Take(); // The caller takes ownership of the directory. Take 603 chrome/browser/extensions/sandboxed_unpacker.cc temp_dir_.Take(), extension_root_, &original_manifest, extension_.get(), Take 131 chrome/common/service_process_util_win.cc state_->ready_event.Set(service_process_ready_event.Take()); Take 288 chrome/service/service_utility_process_host.cc scratch_metafile_dir_->Take(); Take 78 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc CHECK(user_data_dir_.Set(user_data_dir->Take())); Take 80 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc CHECK(extension_dir_.Set(extension_dir->Take())); Take 85 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::FilePath user_data_dir = user_data_dir_.Take(); Take 86 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc base::FilePath extension_dir = extension_dir_.Take(); Take 1084 components/nacl/browser/nacl_process_host.cc process_handle.Take(), info, Take 214 content/browser/indexed_db/indexed_db_internals_ui.cc base::FilePath temp_path = temp_dir.Take(); Take 53 content/browser/power_save_blocker_win.cc return handle.Take(); Take 147 content/browser/power_save_blocker_win.cc DeletePowerRequest(RequestType(), handle_.Take()); Take 52 content/public/test/test_browser_context.cc return browser_context_dir_.Take(); Take 28 native_client_sdk/src/libraries/nacl_io/socket/packet.h void Take(const void* buffer, size_t len, PP_Resource addr); Take 205 net/test/spawned_test_server/local_test_server_win.cc base::win::ScopedHandle read_fd(child_read_fd_.Take()); Take 206 net/test/spawned_test_server/local_test_server_win.cc base::win::ScopedHandle write_fd(child_write_fd_.Take()); Take 330 remoting/host/daemon_process_win.cc pairing_registry_privileged_key_.Set(privileged.Take()); Take 331 remoting/host/daemon_process_win.cc pairing_registry_unprivileged_key_.Set(unprivileged.Take()); Take 85 remoting/host/ipc_util_win.cc *client_out = client.Take(); Take 114 remoting/host/setup/daemon_controller_delegate_win.cc service_out->Set(service.Take()); Take 664 remoting/host/setup/me2me_native_messaging_host.cc delegate_read_handle.Take(), delegate_write_handle.Take())); Take 219 remoting/host/setup/me2me_native_messaging_host_main.cc if (!delegate->SetRootKeys(privileged.Take(), unprivileged.Take())) Take 533 remoting/host/win/elevated_controller.cc service_out->Set(service.Take()); Take 64 sandbox/win/src/app_container_test.cc return event.IsValid() ? event.Take() : NULL; Take 394 sandbox/win/src/broker_services.cc TargetProcess* target = new TargetProcess(initial_token.Take(), Take 395 sandbox/win/src/broker_services.cc lockdown_token.Take(), Take 413 sandbox/win/src/broker_services.cc scoped_ptr<JobTracker> tracker(new JobTracker(job.Take(), policy_base)); Take 431 sandbox/win/src/broker_services.cc *target_info = process_info.Take(); Take 97 sandbox/win/src/target_process.cc shared_section_.Take(); Take 202 sandbox/win/src/target_process.cc sandbox_process_info_.Set(process_info.Take()); Take 151 win8/delegate_execute/chrome_util.cc if (!base::WaitForExitCode(process_handle.Take(), &exit_code)) {