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

Issue 344018: Eliminate mime_util dependency from WebFrameLoaderClient (Closed)

Created:
11 years, 1 month ago by Mohamed Mansour
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Eliminate mime_util dependency from WebFrameLoaderClient. BUG=24604 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30675

Patch Set 1 #

Patch Set 2 : Follow darins comments #

Total comments: 4

Patch Set 3 : Fix nits #

Total comments: 2

Patch Set 4 : Rebased #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M webkit/api/public/WebMimeRegistry.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/api/src/FrameLoaderClientImpl.cpp View 3 chunks +3 lines, -2 lines 1 comment Download
M webkit/glue/simple_webmimeregistry_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/simple_webmimeregistry_impl.cc View 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mohamed Mansour
I have looked in the implementation of "net::IsSupportedMimeType" and it is checking image and nonimage ...
11 years, 1 month ago (2009-10-28 23:37:27 UTC) #1
darin (slow to review)
sorry for not making this clear in the bug, but what i was hoping for ...
11 years, 1 month ago (2009-10-28 23:59:02 UTC) #2
Mohamed Mansour
Is this how you want it?
11 years, 1 month ago (2009-10-29 22:49:03 UTC) #3
darin (slow to review)
http://codereview.chromium.org/344018/diff/1002/1004 File webkit/glue/simple_webmimeregistry_impl.cc (right): http://codereview.chromium.org/344018/diff/1002/1004#newcode29 Line 29: namespace webkit_glue { nit: add a new line ...
11 years, 1 month ago (2009-10-30 04:13:20 UTC) #4
Mohamed Mansour
http://codereview.chromium.org/344018/diff/1002/1004 File webkit/glue/simple_webmimeregistry_impl.cc (right): http://codereview.chromium.org/344018/diff/1002/1004#newcode29 Line 29: namespace webkit_glue { On 2009/10/30 04:13:20, darin wrote: ...
11 years, 1 month ago (2009-10-30 04:41:11 UTC) #5
darin (slow to review)
http://codereview.chromium.org/344018/diff/5001/5005 File webkit/glue/webframeloaderclient_impl.cc (right): http://codereview.chromium.org/344018/diff/5001/5005#newcode1070 Line 1070: if (WebKit::webKitClient()->mimeRegistry()->supportsMIMEType(webkit_glue::StringToWebString(mime_type)) == nit: this exceeds 80 chars, ...
11 years, 1 month ago (2009-10-30 04:50:32 UTC) #6
Mohamed Mansour
> nit: this exceeds 80 chars, but... don't worry about it. Thats is what I ...
11 years, 1 month ago (2009-10-30 04:53:42 UTC) #7
darin (slow to review)
http://codereview.chromium.org/344018/diff/5001/5005 File webkit/glue/webframeloaderclient_impl.cc (right): http://codereview.chromium.org/344018/diff/5001/5005#newcode1070 Line 1070: if (WebKit::webKitClient()->mimeRegistry()->supportsMIMEType(webkit_glue::StringToWebString(mime_type)) == once you move this into ...
11 years, 1 month ago (2009-10-30 05:11:07 UTC) #8
Mohamed Mansour
I rebased, you can recheck if its what you want.
11 years, 1 month ago (2009-10-31 02:38:54 UTC) #9
darin (slow to review)
LGTM http://codereview.chromium.org/344018/diff/8001/8003 File webkit/api/src/FrameLoaderClientImpl.cpp (right): http://codereview.chromium.org/344018/diff/8001/8003#newcode1121 Line 1121: if (WebKit::webKitClient()->mimeRegistry()->supportsMIMEType(mimeType) == feel free to not ...
11 years, 1 month ago (2009-10-31 22:35:49 UTC) #10
jam
11 years, 1 month ago (2009-11-01 02:01:45 UTC) #11
Why did this change get committed?  It was red on the trybots, and these same
tests are now failing on the buildbot.  Please revert asap, as it's not cool
leaving the tree red.

Powered by Google App Engine
This is Rietveld 408576698