зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7cd3a9c77e
Коммит
d47a50d39b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче