Bug 1735252 [wpt PR 31197] - Regenerate WPT certificates, a=testonly
[gecko.git] / toolkit / components / remote / RemoteUtils.h
blob11ba96651b869f9858420f91699b0e6da5d8e709
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef TOOLKIT_COMPONENTS_REMOTE_REMOTEUTILS_H_
7 #define TOOLKIT_COMPONENTS_REMOTE_REMOTEUTILS_H_
9 #include "nsString.h"
11 #if defined XP_WIN || defined XP_MACOSX
12 static void BuildClassName(const char* aProgram, const char* aProfile,
13 nsString& aClassName) {
14 aClassName.AppendPrintf("Mozilla_%s_%s_RemoteWindow", aProgram, aProfile);
16 #endif
18 char* ConstructCommandLine(int32_t argc, char** argv,
19 const char* aDesktopStartupID,
20 int* aCommandLineLength);
22 #endif // TOOLKIT_COMPONENTS_REMOTE_REMOTEUTILS_H_