The default bug view has changed. See this FAQ.

add storage file to well-known directory service list

RESOLVED FIXED

Status

Core Graveyard
Profile: BackEnd
RESOLVED FIXED
12 years ago
a year ago

People

(Reporter: vlad, Assigned: vlad)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
This patch adds MOZ_APP_STORAGE_50_FILE, which is a pointer to the per-profile
database used by mozStorage.
(Assignee)

Comment 1

12 years ago
Created attachment 172760 [details] [diff] [review]
add-storage-file.patch
Assignee: nobody → vladimir
Status: NEW → ASSIGNED

Comment 2

12 years ago
Comment on attachment 172760 [details] [diff] [review]
add-storage-file.patch

>Index: profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp

> #define MIME_TYPES_FILE_50_NAME      NS_LITERAL_CSTRING("mimeTypes.rdf")
> #define BOOKMARKS_FILE_50_NAME       NS_LITERAL_CSTRING("bookmarks.html")
> #define DOWNLOADS_FILE_50_NAME       NS_LITERAL_CSTRING("downloads.rdf")
> #define SEARCH_FILE_50_NAME          NS_LITERAL_CSTRING("search.rdf" )
> #define MAIL_DIR_50_NAME             NS_LITERAL_CSTRING("Mail")
> #define IMAP_MAIL_DIR_50_NAME        NS_LITERAL_CSTRING("ImapMail")
> #define NEWS_DIR_50_NAME             NS_LITERAL_CSTRING("News")
> #define MSG_FOLDER_CACHE_DIR_50_NAME NS_LITERAL_CSTRING("panacea.dat")
>+#define STORAGE_50_NAME              NS_LITERAL_CSTRING("storage.sdb")

perhaps this should be STORAGE_FILE_50_NAME instead to be consistent.


r=darin with that change
Attachment #172760 - Flags: review+
Comment on attachment 172760 [details] [diff] [review]
add-storage-file.patch

sr=shaver with that change, too.
Attachment #172760 - Flags: superreview+
(Assignee)

Comment 4

12 years ago
checked in, thanks
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.