summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/LocalStorageArea.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/LocalStorageArea.h')
-rw-r--r--WebCore/storage/LocalStorageArea.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/WebCore/storage/LocalStorageArea.h b/WebCore/storage/LocalStorageArea.h
index 0ca5ab8..26d9ccf 100644
--- a/WebCore/storage/LocalStorageArea.h
+++ b/WebCore/storage/LocalStorageArea.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008 Apple Inc. All Rights Reserved.
+ * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -28,17 +28,11 @@
#if ENABLE(DOM_STORAGE)
-#include "LocalStorageTask.h"
-#include "LocalStorageThread.h"
-
#include "SQLiteDatabase.h"
#include "StorageArea.h"
#include "StringHash.h"
#include "Timer.h"
-
#include <wtf/HashMap.h>
-#include <wtf/PassRefPtr.h>
-#include <wtf/Threading.h>
namespace WebCore {
@@ -90,6 +84,7 @@ namespace WebCore {
private:
void syncTimerFired(Timer<LocalStorageArea>*);
+ void sync(bool clearItems, const HashMap<String, String>& items);
Mutex m_syncLock;
HashMap<String, String> m_itemsPendingSync;