Index: webkit/dom_storage/dom_storage_area.cc |
diff --git a/webkit/dom_storage/dom_storage_area.cc b/webkit/dom_storage/dom_storage_area.cc |
index 734edffa0ef2bec4e82551477e90908bffd1ade6..494c29ab565eab43583866e9d467b77e127dbfc9 100644 |
--- a/webkit/dom_storage/dom_storage_area.cc |
+++ b/webkit/dom_storage/dom_storage_area.cc |
@@ -26,6 +26,8 @@ namespace dom_storage { |
static const int kCommitTimerSeconds = 1; |
+int DomStorageArea::set_me = 2; |
+ |
DomStorageArea::CommitBatch::CommitBatch() |
: clear_all_first(false) { |
} |
@@ -63,6 +65,8 @@ DomStorageArea::DomStorageArea(const GURL& origin, const FilePath& directory, |
is_initial_import_done_(true), |
is_shutdown_(false), |
commit_batches_in_flight_(0) { |
+ LOG(ERROR) << "DomStorageArea ctor, set_me " << set_me << ", pid: " |
+ << getpid(); |
if (!directory.empty()) { |
FilePath path = directory.Append(DatabaseFileNameFromOrigin(origin_)); |
backing_.reset(new LocalStorageDatabaseAdapter(path)); |
@@ -85,6 +89,8 @@ DomStorageArea::DomStorageArea( |
is_initial_import_done_(true), |
is_shutdown_(false), |
commit_batches_in_flight_(0) { |
+ LOG(ERROR) << "DomStorageArea ctor, set_me " << set_me << ", pid: " |
+ << getpid(); |
DCHECK(namespace_id != kLocalStorageNamespaceId); |
if (session_storage_backing) { |
backing_.reset(new SessionStorageDatabaseAdapter( |
@@ -127,6 +133,9 @@ NullableString16 DomStorageArea::GetItem(const string16& key) { |
bool DomStorageArea::SetItem(const string16& key, |
const string16& value, |
NullableString16* old_value) { |
+ LOG(ERROR) << "DomStorageArea::SetItem, set_me " << set_me << ", pid: " |
+ << getpid(); |
+ LOG(ERROR) << "address of set_me: " << &dom_storage::DomStorageArea::set_me; |
if (is_shutdown_) |
return false; |
InitialImportIfNeeded(); |