ipc/glue/ProcessUtils.h
author Andrew Osmond <aosmond@mozilla.com>
Fri, 17 Nov 2017 06:45:28 -0500
changeset 446749 8d8cfa078d8601abcb66e1edb786e971f929ad89
parent 351479 c4de227304aa18ceb41047e222272f22fd99d5f9
child 508163 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1368776 - Part 16. Ensure we more consistently pass the suggested size from SurfaceCache::LookupBestMatch. r=tnikkel The suggested size is useful in more situations now that GetImageContainerImpl requires it. It should be passed whenever we have it available.

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_ipc_ProcessUtils_h
#define mozilla_ipc_ProcessUtils_h

namespace mozilla {
namespace ipc {

// You probably should call ContentChild::SetProcessName instead of calling
// this directly.
void SetThisProcessName(const char *aName);

} // namespace ipc
} // namespace mozilla

#endif // ifndef mozilla_ipc_ProcessUtils_h