Bug 1175860 - Add some documentation to UploadLastDir to make its workings clearer. r=baku
This commit is contained in:
@@ -39,8 +39,17 @@ class Date;
|
||||
class File;
|
||||
class FileList;
|
||||
|
||||
class UploadLastDir final : public nsIObserver, public nsSupportsWeakReference {
|
||||
|
||||
/**
|
||||
* A class we use to create a singleton object that is used to keep track of
|
||||
* the last directory from which the user has picked files (via
|
||||
* <input type=file>) on a per-domain basis. The implementation uses
|
||||
* nsIContentPrefService2/NS_CONTENT_PREF_SERVICE_CONTRACTID to store the last
|
||||
* directory per-domain, and to ensure that whether the directories are
|
||||
* persistently saved (saved across sessions) or not honors whether or not the
|
||||
* page is being viewed in private browsing.
|
||||
*/
|
||||
class UploadLastDir final : public nsIObserver, public nsSupportsWeakReference
|
||||
{
|
||||
~UploadLastDir() {}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user