DescriptionUse the correct thread to access g_browser_process.
Since g_browser_process can only be accessed by ui thread, and GoogleUpdateSettings::GetCollectStatsConsent should be called by FILE thread, it doesn't make sense to put them in the same function, which is executed through posttask on FILE thread.
Schedules only GoogleUpdateSettings::GetCollectStatsConsent on FILE thread, and does everything else on IO thread in ShowForReal()
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281865
Patch Set 1 #Patch Set 2 : Nits #
Total comments: 4
Patch Set 3 : Address comments #Patch Set 4 : Rebase #Patch Set 5 : scoped_ptr should be passed. #
Messages
Total messages: 11 (0 generated)
|