Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg

This commit is contained in:
Ehsan Akhgari 2013-09-23 13:25:00 -04:00
parent 769424ae11
commit 7233ba7103
79 changed files with 79 additions and 79 deletions

View File

@ -18,7 +18,7 @@
#include "nsIAccessibleStates.h"
#include "nsIContent.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsRefPtrHashtable.h"

View File

@ -7,7 +7,7 @@
#define mozilla_RegistryMessageUtils_h
#include "ipc/IPCMessageUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
struct SerializedURI
{

View File

@ -16,7 +16,7 @@
#include "nsIScriptGlobalObject.h"
#include "nsIURI.h"
#include "nsIWeakReferenceUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
class nsIDOMDocument;

View File

@ -12,7 +12,7 @@
#define nsAttrValue_h___
#include "nscore.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsStringBuffer.h"
#include "nsColor.h"
#include "nsCaseTreatment.h"

View File

@ -16,7 +16,7 @@
#include "nsContentListDeclarations.h"
#include "nsISupports.h"
#include "nsTArray.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsIHTMLCollection.h"
#include "nsIDOMNodeList.h"
#include "nsINodeList.h"

View File

@ -16,7 +16,7 @@
#include "nsCycleCollectionParticipant.h"
#include "nsIDOMMozNamedAttrMap.h"
#include "nsRefPtrHashtable.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsWrapperCache.h"
class nsIAtom;

View File

@ -12,7 +12,7 @@
* types don't need to be exported outside the SVG module.
*/
#include "nsStringGlue.h"
#include "nsString.h"
class nsSVGAngle;
class nsSVGIntegerPair;

View File

@ -7,7 +7,7 @@
#define __NS_SVGDATAPARSER_H__
#include "nsError.h"
#include "nsStringGlue.h"
#include "nsString.h"
//----------------------------------------------------------------------
// helper macros

View File

@ -8,7 +8,7 @@
#include "nsISupports.h"
#include "nsIDOMClassInfo.h"
#include "nsStringGlue.h"
#include "nsString.h"
#define NS_IDOM_SCRIPT_OBJECT_FACTORY_IID \
{ 0x2a50e17c, 0x46ff, 0x4150, \

View File

@ -7,7 +7,7 @@
#define nsIScriptContext_h__
#include "nscore.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsISupports.h"
#include "nsCOMPtr.h"
#include "nsIProgrammingLanguage.h"

View File

@ -11,7 +11,7 @@
#include "jsapi.h"
#include "jsproxy.h"
#include "nsStringGlue.h"
#include "nsString.h"
#define DOM_PROXY_OBJECT_SLOT js::PROXY_PRIVATE_SLOT

View File

@ -9,7 +9,7 @@
#include "mozilla/Observer.h"
#include "nsPrintfCString.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
extern bool gBluetoothDebugFlag;

View File

@ -12,7 +12,7 @@
#include "nsCycleCollectionParticipant.h"
#include "nsDOMEventTargetHelper.h"
#include "nsDebug.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#define BEGIN_FILE_NAMESPACE \

View File

@ -18,7 +18,7 @@
#include "nsEventDispatcher.h"
#include "nsJSUtils.h"
#include "nsPIDOMWindow.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsThreadUtils.h"
#include "nsWrapperCacheInlines.h"

View File

@ -15,7 +15,7 @@
#include "nsCOMPtr.h"
#include "nsDebug.h"
#include "nsError.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsIInputStream.h"

View File

@ -13,7 +13,7 @@
#include "nsCOMArray.h"
#include "nsIPluginTag.h"
#include "nsITimer.h"
#include "nsStringGlue.h"
#include "nsString.h"
class nsPluginHost;
struct PRLibrary;

View File

@ -11,7 +11,7 @@
#include "npapi.h"
#include "npruntime.h"
#include "nsStringGlue.h"
#include "nsString.h"
namespace mozilla {
namespace plugins {

View File

@ -18,7 +18,7 @@
#include "npruntime.h"
#include "npfunctions.h"
#include "nsAutoPtr.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "prlog.h"
#include "nsHashKeys.h"

View File

@ -10,7 +10,7 @@
#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "nsDebug.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#define BEGIN_QUOTA_NAMESPACE \

View File

@ -25,7 +25,7 @@
#include "nsCOMPtr.h"
#include "nsDebug.h"
#include "nsDOMEventTargetHelper.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
class nsIWorkerHolder;

View File

@ -14,7 +14,7 @@
#include "nsCycleCollectionParticipant.h"
#include "nsDebug.h"
#include "nsDOMEventTargetHelper.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#define BEGIN_TELEPHONY_NAMESPACE \

View File

@ -9,7 +9,7 @@
#include "nsXPCOM.h"
#include "nsNativeCharsetUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "WorkerPrivate.h"

View File

@ -14,7 +14,7 @@
#include "jsfriendapi.h"
#include "nsCOMPtr.h"
#include "nsJSUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "mozilla/dom/Exceptions.h"
#include "WorkerInlines.h"

View File

@ -11,7 +11,7 @@
#include "mozilla/dom/workers/bindings/DOMBindingBase.h"
#include "nsICharsetDetectionObserver.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "mozilla/Attributes.h"
class nsIInputStream;

View File

@ -8,7 +8,7 @@
#include "Workers.h"
#include "mozilla/dom/workers/bindings/DOMBindingBase.h"
#include "nsStringGlue.h"
#include "nsString.h"
BEGIN_WORKERS_NAMESPACE

View File

@ -18,7 +18,7 @@
#include "nsClassHashtable.h"
#include "nsCOMPtr.h"
#include "nsHashKeys.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
class nsIThread;

View File

@ -25,7 +25,7 @@
#include "nsISupportsPrimitives.h"
#include "nsNetUtil.h"
#include "nsScriptLoader.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsThreadUtils.h"
#include "nsXPCOM.h"

View File

@ -22,7 +22,7 @@
#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "nsEventQueue.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTPriorityQueue.h"
#include "StructuredCloneTags.h"

View File

@ -13,7 +13,7 @@
#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "nsDebug.h"
#include "nsStringGlue.h"
#include "nsString.h"
#define BEGIN_WORKERS_NAMESPACE \
namespace mozilla { namespace dom { namespace workers {

View File

@ -23,7 +23,7 @@
#include "nsIWindowWatcher.h"
#include "nsNetUtil.h"
#include "nsRect.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsWeakReference.h"
#include "nsIWebBrowser.h"
#include "nsIObserverService.h"

View File

@ -25,7 +25,7 @@
#include "nsIObserverService.h" // for nsIObserverService
#include "nsIRunnable.h" // for nsIRunnable
#include "nsISupports.h"
#include "nsStringGlue.h" // for nsAutoCString, nsCString, etc
#include "nsString.h" // for nsAutoCString, nsCString, etc
#include "nsTArray.h" // for nsTArray
#include "nsThreadUtils.h" // for NS_DispatchToMainThread, etc
#include "nscore.h" // for NS_IMETHOD, NS_IMETHODIMP, etc

View File

@ -12,7 +12,7 @@
#include "nsColorNames.h" // for nsColorNames
#include "nsDebug.h" // for NS_ASSERTION, etc
#include "nsStaticNameTable.h"
#include "nsStringGlue.h" // for nsAutoCString, nsString, etc
#include "nsString.h" // for nsAutoCString, nsString, etc
#include "nscore.h" // for nsAString, etc
using namespace mozilla;

View File

@ -30,7 +30,7 @@
#include "nsRect.h" // for nsRect
#include "nsRenderingContext.h" // for nsRenderingContext
#include "nsServiceManagerUtils.h" // for do_GetService
#include "nsStringGlue.h" // for nsDependentString
#include "nsString.h" // for nsDependentString
#include "nsTArray.h" // for nsTArray, nsTArray_Impl
#include "nsThreadUtils.h" // for NS_IsMainThread
#include "nsTraceRefcnt.h" // for MOZ_COUNT_CTOR, etc

View File

@ -13,7 +13,7 @@
#include "nsAutoPtr.h" // for nsRefPtr
#include "nsCoord.h" // for nscoord
#include "nsStringFwd.h" // for nsSubstring
#include "nsStringGlue.h" // for nsString
#include "nsString.h" // for nsString
#include "nsTArray.h" // for nsTArray
struct gfxFontStyle;

View File

@ -16,7 +16,7 @@
#include "nsIAtom.h" // for nsIAtom
#include "nsMathUtils.h" // for NS_round
#include "nsRenderingContext.h" // for nsRenderingContext
#include "nsStringGlue.h" // for nsString
#include "nsString.h" // for nsString
#include "nsStyleConsts.h" // for NS_STYLE_HYPHENS_NONE
class gfxUserFontSet;

View File

@ -6,7 +6,7 @@
#include "nsRect.h"
#include "mozilla/gfx/Types.h" // for NS_SIDE_BOTTOM, etc
#include "nsDeviceContext.h" // for nsDeviceContext
#include "nsStringGlue.h" // for nsAutoString, etc
#include "nsString.h" // for nsAutoString, etc
#include "prtypes.h" // for PR_STATIC_ASSERT
#include "nsMargin.h" // for nsMargin

View File

@ -14,7 +14,7 @@
#include "nsError.h" // for nsresult
#include "nsPoint.h" // for nsIntPoint, nsPoint
#include "nsRect.h" // for nsIntRect, nsRect
#include "nsStringGlue.h" // for nsCString
#include "nsString.h" // for nsCString
#include "xpcom-config.h" // for CPP_THROW_NEW
class nsIntRegion;

View File

@ -18,7 +18,7 @@
#include "nsDeviceContext.h" // for nsDeviceContext
#include "nsFontMetrics.h" // for nsFontMetrics
#include "nsISupports.h" // for NS_INLINE_DECL_REFCOUNTING, etc
#include "nsStringGlue.h" // for nsString
#include "nsString.h" // for nsString
#include "nscore.h" // for PRUnichar
class gfxASurface;

View File

@ -13,7 +13,7 @@
#include "nsIAtom.h" // for nsIAtom, do_GetAtom
#include "nsID.h"
#include "nsMemory.h" // for nsMemory
#include "nsStringGlue.h" // for nsAutoCString, nsAutoString, etc
#include "nsString.h" // for nsAutoCString, nsAutoString, etc
#include "nsTArray.h" // for nsTArray, nsTArray_Impl, etc
#include "nscore.h" // for PRUnichar, NS_IMETHODIMP

View File

@ -49,7 +49,7 @@
#include "nsCOMPtr.h"
#include "nsIConsoleService.h"
#include "nsServiceManagerUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsIClipboardHelper.h"
using namespace mozilla;

View File

@ -8,7 +8,7 @@
#include "prlog.h"
#include "nsTArray.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsIObserver.h"
#include "gfxTypes.h"

View File

@ -9,7 +9,7 @@
#include "nsIIconURI.h"
#include "nsCOMPtr.h"
#include "nsStringGlue.h"
#include "nsString.h"
#define NS_MOZICONURI_CID \
{ \

View File

@ -14,7 +14,7 @@
#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsError.h"
#include "nsIAsyncVerifyRedirectCallback.h"

View File

@ -7,7 +7,7 @@
#define nsCharsetAlias_h___
#include "nscore.h"
#include "nsStringGlue.h"
#include "nsString.h"
class nsCharsetConverterManager;
class nsScriptableUnicodeConverter;

View File

@ -10,7 +10,7 @@
#include "nsISupports.h"
#include "nscore.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsILocale.h"
#include "nsIScriptableDateFormat.h"
#include "prtime.h"

View File

@ -6,7 +6,7 @@
#ifndef nsIPlatformCharset_h__
#define nsIPlatformCharset_h__
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsISupports.h"
// Interface ID for our nsIPlatformCharset interface

View File

@ -9,7 +9,7 @@
%{ C++
#include "nsIUnicodeDecoder.h"
#include "nsIUnicodeEncoder.h"
#include "nsStringGlue.h"
#include "nsString.h"
// XXX change to NS_CHARSETCONVERTERMANAGER_CID

View File

@ -20,7 +20,7 @@
#include "nsID.h"
#include "nsMemory.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "js/StructuredClone.h"
#include "nsCSSProperty.h"

View File

@ -6,7 +6,7 @@
#include "nsComponentManagerUtils.h"
#include "nsServiceManagerUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsThreadUtils.h"
#include "nsXULAppAPI.h"
#include "prthread.h"

View File

@ -11,7 +11,7 @@
#include "nsCOMPtr.h"
#include "nsServiceManagerUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsXULAppAPI.h"
using mozilla::ipc::ScopedXREEmbed;

View File

@ -12,7 +12,7 @@
#include "nsAutoPtr.h"
#include "nsServiceManagerUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsIXULAppInfo.h"
#include "mozilla/PaintTracker.h"

View File

@ -13,7 +13,7 @@
#include "js/TypeDecls.h"
#include "nsAutoJSValHolder.h"
#include "nsStringGlue.h"
#include "nsString.h"
namespace mozilla {

View File

@ -13,7 +13,7 @@
#include "nsAutoJSValHolder.h"
#include "nsCOMPtr.h"
#include "nsDebug.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsJSPrincipals.h"
#include "nsContentUtils.h"
#include "js/TypeDecls.h"

View File

@ -19,7 +19,7 @@
*/
#include "nscore.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsStringBuffer.h"
#include "jsapi.h"
#include "xpcpublic.h"

View File

@ -6,7 +6,7 @@
#ifndef nsHTMLTags_h___
#define nsHTMLTags_h___
#include "nsStringGlue.h"
#include "nsString.h"
#include "plhash.h"
class nsIAtom;

View File

@ -17,7 +17,7 @@
* about more, which is the IHTMLContentSink interface. (See that file for details).
*/
#include "nsISupports.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "mozFlushType.h"
#include "nsIDTD.h"

View File

@ -22,7 +22,7 @@
* */
#include "nsISupports.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsITokenizer.h"
#define NS_IDTD_IID \

View File

@ -21,7 +21,7 @@
#include "nsISupports.h"
#include "nsIStreamListener.h"
#include "nsIDTD.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsIAtom.h"
#include "nsParserBase.h"

View File

@ -7,7 +7,7 @@
#define nsIParserService_h__
#include "nsISupports.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsHTMLTags.h"
class nsIParser;

View File

@ -14,7 +14,7 @@
#include "nsIURI.h"
#include "nsNetUtil.h"
#include "nsThreadUtils.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsIScriptSecurityManager.h"
#include "nsISocketProvider.h"
#include "mozilla/Preferences.h"

View File

@ -23,7 +23,7 @@
#include "nsNativeCharsetUtils.h"
#include "nsThreadUtils.h"
#include "nsAutoPtr.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "mozilla/Preferences.h"
#include "GeckoProfiler.h"

View File

@ -29,7 +29,7 @@
#include "jsapi.h"
#include "jsfriendapi.h"
#include "js/GCAPI.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsITelemetry.h"
#include "nsIFile.h"
#include "nsIFileStreams.h"

View File

@ -6,7 +6,7 @@
#ifndef toolkit_breakpad_mac_utils_h__
#define toolkit_breakpad_mac_utils_h__
#include "nsStringGlue.h"
#include "nsString.h"
// Given an Objective-C NSException object, put exception info into a string.
void GetObjCExceptionInfo(void* inException, nsACString& outString);

View File

@ -12,7 +12,7 @@
#include "nsThreadUtils.h"
#include "nsCOMPtr.h"
#include "nsProxyRelease.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "mozilla/Base64.h"
#include "mozilla/Util.h" // ArrayLength
#include "ScopedNSSTypes.h"

View File

@ -7,7 +7,7 @@
#include "mozilla/Util.h" // for ArrayLength
#include "nsDataHashtable.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsUTF8Utils.h"

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "jsapi.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "JSObjectBuilder.h"
JSObjectBuilder::JSObjectBuilder(JSContext *aCx) : mCx(aCx), mOk(true)

View File

@ -51,7 +51,7 @@ using mozilla::unused;
#include "imgIEncoder.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "GeckoProfiler.h" // For PROFILER_LABEL
using namespace mozilla;

View File

@ -11,7 +11,7 @@
#include "nsPoint.h"
#include "nsRect.h"
#include "nsEvent.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#include "nsIAtom.h"
#include "nsIDOMKeyEvent.h"

View File

@ -9,7 +9,7 @@
#include "nsISupports.h"
#include "nsColor.h"
#include "nsRect.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsEvent.h"
#include "nsCOMPtr.h"

View File

@ -8,7 +8,7 @@
#include "mozqwidgetfast.h"
#include "nsFastStartupQt.h"
#include "nsIFile.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "BinaryPath.h"
#define TOOLBAR_SPLASH "toolbar_splash.png"

View File

@ -7,7 +7,7 @@
#include "GfxInfoCollector.h"
#include "jsapi.h"
#include "nsStringGlue.h"
#include "nsString.h"
using namespace mozilla;
using namespace widget;

View File

@ -13,7 +13,7 @@
#ifdef MOZ_CRASHREPORTER
# include "nsExceptionHandler.h"
#endif
#include "nsStringGlue.h"
#include "nsString.h"
#include "prprf.h"
#include "prlog.h"
#include "nsError.h"

View File

@ -16,7 +16,7 @@
#endif
#include "nsError.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "prlog.h"
#include "nsTArray.h"
#include "nsAutoPtr.h"

View File

@ -11,7 +11,7 @@
#include "nsAtomTable.h"
#include "nsStaticAtom.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsCRT.h"
#include "pldhash.h"
#include "prenv.h"

View File

@ -9,7 +9,7 @@
#include "nsIPersistentProperties2.h"
#include "pldhash.h"
#include "plarena.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#include "mozilla/Attributes.h"

View File

@ -10,7 +10,7 @@
#define nsStaticNameTable_h___
#include "pldhash.h"
#include "nsStringGlue.h"
#include "nsString.h"
/* This class supports case insensitive lookup.
*

View File

@ -10,7 +10,7 @@
#include "nsISupportsPrimitives.h"
#include "nsCOMPtr.h"
#include "nsStringGlue.h"
#include "nsString.h"
class nsSupportsIDImpl MOZ_FINAL : public nsISupportsID
{

View File

@ -14,7 +14,7 @@
#include "xpt_struct.h"
#include "nsReadableUtils.h"
#include "nsMemory.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "nsCRTGlue.h"
/***************************************************************************/

View File

@ -6,7 +6,7 @@
#include "Base64.h"
#include "nsIInputStream.h"
#include "nsStringGlue.h"
#include "nsString.h"
#include "plbase64.h"