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

Issue 10272006: gdata: Fix GDataFileSystem::GetCacheStateOnUIThread to acquire lock for cache initialization. (Closed)

Created:
8 years, 7 months ago by Ben Chan
Modified:
8 years, 7 months ago
Reviewers:
achuithb, satorux1
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

gdata: Fix GDataFileSystem::GetCacheStateOnUIThread to acquire lock for cache initialization. BUG=chromium:125536 TEST=Tested the following: 1. Run "unit_tests --gtest_filter='*GData*'" 2. Verify on a debug build that GetCacheStateOnUIThread no longer fails with a lock assertion. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134518

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -50 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 1 chunk +0 lines, -3 lines 1 comment Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 4 chunks +31 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ben Chan
https://chromiumcodereview.appspot.com/10272006/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10272006/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2141 chrome/browser/chromeos/gdata/gdata_file_system.cc:2141: // Always post a task to the UI thread ...
8 years, 7 months ago (2012-04-30 04:37:21 UTC) #1
satorux1
http://codereview.chromium.org/10272006/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10272006/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2141 chrome/browser/chromeos/gdata/gdata_file_system.cc:2141: // Always post a task to the UI thread ...
8 years, 7 months ago (2012-04-30 05:52:05 UTC) #2
Ben Chan
PTAL https://chromiumcodereview.appspot.com/10272006/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10272006/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2141 chrome/browser/chromeos/gdata/gdata_file_system.cc:2141: // Always post a task to the UI ...
8 years, 7 months ago (2012-04-30 06:18:58 UTC) #3
satorux1
LGTM http://codereview.chromium.org/10272006/diff/5004/chrome/browser/chromeos/gdata/gdata_file_system.h File chrome/browser/chromeos/gdata/gdata_file_system.h (left): http://codereview.chromium.org/10272006/diff/5004/chrome/browser/chromeos/gdata/gdata_file_system.h#oldcode1158 chrome/browser/chromeos/gdata/gdata_file_system.h:1158: void UnsafeInitializeCacheIfNecessary(); one less function is great!
8 years, 7 months ago (2012-04-30 06:22:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benchan@chromium.org/10272006/5004
8 years, 7 months ago (2012-04-30 06:38:29 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-04-30 09:03:00 UTC) #6
Change committed as 134518

Powered by Google App Engine
This is Rietveld 408576698