author Josh Matthews <>
Sat, 17 Jan 2015 11:57:41 -0500
changeset 238855 6ccc86f7429e38dec4343a43f7d994c4c553e91e
parent 208160 803e2184d7b26a36d959f75a36ec252e347cb4c7
permissions -rw-r--r--
Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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 */

 * We support two builds of the directory service provider.
 * One, linked into the profile component, uses the internal
 * string API. The other can be used by standalone embedding
 * clients, and uses embed strings.
 * To keep the code clean, we are using typedefs to equate
 * embed/internal string types. We are also defining some
 * internal macros in terms of the embedding strings API.
 * When modifying the profile directory service provider, be
 * sure to use methods supported by both the internal and
 * embed strings APIs.


#include "nsEmbedString.h"

typedef nsCString nsPromiseFlatCString;
typedef nsCString nsAutoCString;

#define PromiseFlatCString nsCString

#include "nsString.h"
#include "nsPromiseFlatString.h"