Bug 607115 - use a much smaller guid format than we currently use for bookmarks

Part 1 - Mark and make nsIRandomGenerator threadsafe.
r=kaie
This commit is contained in:
Shawn Wilsher 2010-11-23 16:04:28 -08:00
Родитель 7cd3a9c77e
Коммит d47a50d39b
2 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -14,7 +14,7 @@
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Mozilla Corporation.
* the Mozilla Foundation.
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
@ -37,6 +37,11 @@
#include "nsISupports.idl"
/**
* Interface used to generate random data.
*
* @threadsafe
*/
[scriptable, uuid(2362d97a-747a-4576-8863-697667309209)]
interface nsIRandomGenerator : nsISupports {
/**

Просмотреть файл

@ -14,7 +14,7 @@
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Mozilla Corporation.
* the Mozilla Foundation.
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
@ -41,7 +41,7 @@
////////////////////////////////////////////////////////////////////////////////
//// nsRandomGenerator
NS_IMPL_ISUPPORTS1(nsRandomGenerator, nsIRandomGenerator)
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRandomGenerator, nsIRandomGenerator)
////////////////////////////////////////////////////////////////////////////////
//// nsIRandomGenerator