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

Issue 3983005: Revert 63600 - Thread IO safety: annotate file_util, and block IO thread from... (Closed)

Created:
10 years, 2 months ago by Ilya Sherman
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, Erik does not do reviews, Paweł Hajdan Jr., Aaron Boodman, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Revert 63600 - Thread IO safety: annotate file_util, and block IO thread from doing IO Reverting because this breaks the ChromiumOS (dbg) builder. - Mark functions in file_util_posix as requiring permission to perform disk actions. - Mark the IO thread as disallowed from performing disk actions. - Temporarily work around the protections in places where we currently have bugs. BUG=59847, 59849, 60207, 60211 TEST=no dchecks in debug builds Review URL: http://codereview.chromium.org/3872002 TBR=evan@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=63630

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -136 lines) Patch
M base/file_util_posix.cc View 24 chunks +0 lines, -35 lines 0 comments Download
M base/shared_memory_posix.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M base/thread_restrictions.h View 2 chunks +3 lines, -27 lines 0 comments Download
M base/thread_restrictions.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/extensions/autoupdate_interceptor.cc View 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/io_thread.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/net/url_request_mock_http_job.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/net/url_request_mock_util.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_uitest.cc View 3 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/service/service_process_control.cc View 2 chunks +1 line, -9 lines 0 comments Download
M chrome/common/extensions/extension_resource.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M net/url_request/url_request_file_job.cc View 2 chunks +1 line, -9 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Ilya Sherman
10 years, 2 months ago (2010-10-23 04:09:40 UTC) #1
Evan Martin
What is the breakage? Can you include the error? On Fri, Oct 22, 2010 at ...
10 years, 2 months ago (2010-10-23 05:10:10 UTC) #2
Evan Martin
10 years, 2 months ago (2010-10-23 05:21:05 UTC) #3
Nevermind, got it.

On Fri, Oct 22, 2010 at 10:10 PM, Evan Martin <evan@chromium.org> wrote:
> What is the breakage?  Can you include the error?
>
> On Fri, Oct 22, 2010 at 9:09 PM,  <isherman@chromium.org> wrote:
>> Reviewers: Evan Martin,
>>
>> Description:
>> Revert 63600 - Thread IO safety: annotate file_util, and block IO thread
>> from
>> doing IO
>>
>> Reverting because this breaks the ChromiumOS (dbg) builder.
>>
>> - Mark functions in file_util_posix as requiring permission to perform
>>  disk actions.
>> - Mark the IO thread as disallowed from performing disk actions.
>> - Temporarily work around the protections in places where we currently
>>  have bugs.
>>
>> BUG=59847,59849,60207,60211
>> TEST=no dchecks in debug builds
>>
>> Review URL: http://codereview.chromium.org/3872002
>>
>> TBR=evan@chromium.org
>>
>> Please review this at http://codereview.chromium.org/3983005/show
>>
>> SVN Base: svn://svn.chromium.org/chrome/trunk/src/
>>
>> Affected files:
>>  M     base/file_util_posix.cc
>>  M     base/shared_memory_posix.cc
>>  M     base/thread_restrictions.h
>>  M     base/thread_restrictions.cc
>>  M     chrome/browser/extensions/autoupdate_interceptor.cc
>>  M     chrome/browser/io_thread.cc
>>  M     chrome/browser/net/url_request_mock_http_job.cc
>>  M     chrome/browser/net/url_request_mock_util.cc
>>  M     chrome/browser/printing/print_dialog_cloud_uitest.cc
>>  M     chrome/browser/service/service_process_control.cc
>>  M     chrome/common/extensions/extension_resource.cc
>>  M     net/socket/ssl_client_socket_nss.cc
>>  M     net/url_request/url_request_file_job.cc
>>
>>
>>
>

Powered by Google App Engine
This is Rietveld 408576698