Commit 56b2952d authored by jorlow@chromium.org's avatar jorlow@chromium.org

2010-08-16 Jeremy Orlow <jorlow@chromium.org>

        Ugh...another build fix.

        * page/GroupSettings.cpp:
        (WebCore::GroupSettings::GroupSettings):
        * page/GroupSettings.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d51ae476
2010-08-16 Jeremy Orlow <jorlow@chromium.org>
Ugh...another build fix.
* page/GroupSettings.cpp:
(WebCore::GroupSettings::GroupSettings):
* page/GroupSettings.h:
2010-08-16 Jeremy Orlow <jorlow@chromium.org>
Build fix.
......@@ -29,14 +29,18 @@
namespace WebCore {
GroupSettings::GroupSettings()
#if ENABLE(DOM_STORAGE)
: m_localStorageQuotaBytes(5 * 1024 * 1024) // Suggested by the HTML5 spec.
#endif
{
}
#if ENABLE(DOM_STORAGE)
void GroupSettings::setLocalStorageQuotaBytes(unsigned quota)
{
m_localStorageQuotaBytes = quota;
}
#endif
void GroupSettings::setIndexedDBDatabasePath(const String& path)
{
......
......@@ -40,8 +40,10 @@ public:
return adoptPtr(new GroupSettings());
}
#if ENABLE(DOM_STORAGE)
void setLocalStorageQuotaBytes(unsigned);
unsigned localStorageQuotaBytes() const { return m_localStorageQuotaBytes; }
#endif
void setIndexedDBDatabasePath(const String&);
const String& indexedDBDatabasePath() const { return m_indexedDBDatabasePath; }
......@@ -49,7 +51,9 @@ public:
private:
GroupSettings();
#if ENABLE(DOM_STORAGE)
unsigned m_localStorageQuotaBytes;
#endif
String m_indexedDBDatabasePath;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment