Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: webkit/dom_storage/dom_storage_area.cc

Issue 11028110: This CL demonstrates some weird browser_test behavior on linux_chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whereas this works as expected Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/dom_storage/dom_storage_area.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « webkit/dom_storage/dom_storage_area.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698