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

Issue 9349005: net: Rename FileStream::Open/Close with OpenSync/CloseSync. (Closed)

Created:
8 years, 10 months ago by satorux1
Modified:
8 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, dcheng, joi+watch-content_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, pam+watch_chromium.org, kinuko+watch
Visibility:
Public.

Description

net: Rename FileStream::Open/Close with OpenSync/CloseSync. This is in preparation for implementing async versions of Open() and Close(). The existing clients are changed to use OpenSync/CloseSync. No logic is changed. TEST=try bots to confirm everythign is built as before. BUG=72001 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121064

Patch Set 1 #

Patch Set 2 : fix win build #

Total comments: 6

Patch Set 3 : fix builds #

Patch Set 4 : fix content_unittests build #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -85 lines) Patch
M chrome/browser/bookmarks/bookmark_html_writer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/bloom_filter.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sessions/session_backend.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/themes/browser_theme_pack.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/zip.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/zip_reader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/base_file.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/base_file_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/drag_download_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/redirect_to_file_resource_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tab_contents/web_drag_source_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/base/file_stream.h View 1 chunk +12 lines, -8 lines 0 comments Download
M net/base/file_stream_posix.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/base/file_stream_unittest.cc View 32 chunks +32 lines, -32 lines 0 comments Download
M net/base/file_stream_win.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M net/base/mock_file_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/mock_file_stream.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M net/base/upload_data.cc View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M net/base/upload_data_stream.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/tools/dump_cache/dump_files.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_file_job.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/blob/blob_url_request_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_url_request_job.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
satorux1
marked async usage. http://codereview.chromium.org/9349005/diff/3002/content/browser/renderer_host/redirect_to_file_resource_handler.cc File content/browser/renderer_host/redirect_to_file_resource_handler.cc (right): http://codereview.chromium.org/9349005/diff/3002/content/browser/renderer_host/redirect_to_file_resource_handler.cc#newcode169 content/browser/renderer_host/redirect_to_file_resource_handler.cc:169: base::PLATFORM_FILE_ASYNC, async http://codereview.chromium.org/9349005/diff/3002/net/url_request/url_request_file_job.cc File net/url_request/url_request_file_job.cc (right): ...
8 years, 10 months ago (2012-02-07 18:06:27 UTC) #1
satorux1
Hi Will, I originally thought about adding CompletionCallback to the existing Open/Close() functions to make ...
8 years, 10 months ago (2012-02-07 18:23:37 UTC) #2
willchan no longer on Chromium
lgtm
8 years, 10 months ago (2012-02-07 23:47:10 UTC) #3
satorux1
jam@, please take a look at content/* changes tony@, please take a look at webkit/* ...
8 years, 10 months ago (2012-02-08 08:16:26 UTC) #4
tony
webkit rubber stamp LGTM
8 years, 10 months ago (2012-02-08 17:39:37 UTC) #5
jam
content lgtm
8 years, 10 months ago (2012-02-08 18:04:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/9349005/11003
8 years, 10 months ago (2012-02-08 18:57:54 UTC) #7
commit-bot: I haz the power
8 years, 10 months ago (2012-02-08 21:57:10 UTC) #8
Change committed as 121064

Powered by Google App Engine
This is Rietveld 408576698