author Ryan VanderMeulen <>
Sat, 19 Mar 2016 15:16:30 -0400
changeset 351260 351882d470a769b8e185deeda24a4ddffb19c105
parent 273861 42077df6e5734b34aeaf2370bb6ffe8364925a6d
permissions -rw-r--r--
Bug 1252707. r=terrence a=lizzard MozReview-Commit-ID: EIjq93wa1nD

/* -*- 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"