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

Issue 22920005: Refactor MHTMLGenerator to allow getting sending the data to a file descriptor. (Closed)

Created:
7 years, 4 months ago by qsr
Modified:
7 years, 3 months ago
CC:
chromium-reviews, asanka, extensions-reviews_chromium.org, benjhayden+dwatch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Refactor MHTMLGenerator to allow getting sending the data to a file descriptor. TBR=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220059

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix compilation. #

Patch Set 3 : Fix method name. #

Patch Set 4 : Fix compilation #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -48 lines) Patch
M android_webview/native/aw_contents.cc View 1 2 3 1 chunk +3 lines, -2 lines 3 comments Download
M chrome/browser/extensions/api/page_capture/page_capture_api.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/page_capture/page_capture_api.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/download/mhtml_generation_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/mhtml_generation_manager.h View 4 chunks +17 lines, -10 lines 0 comments Download
M content/browser/download/mhtml_generation_manager.cc View 5 chunks +51 lines, -26 lines 0 comments Download
M content/browser/download/save_package.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/save_package.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/browser/web_contents.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
qsr
This change is a precursor work for a feature I'm working on that will save ...
7 years, 4 months ago (2013-08-23 10:09:19 UTC) #1
qsr
Gentle ping?
7 years, 3 months ago (2013-08-28 09:12:19 UTC) #2
mkosiba (inactive)
Jay is no longer on the Chromium project. LGTM (I don't have OWNERS for everything ...
7 years, 3 months ago (2013-08-28 09:34:48 UTC) #3
qsr
On 2013/08/28 09:34:48, mkosiba wrote: > Jay is no longer on the Chromium project. LGTM ...
7 years, 3 months ago (2013-08-28 09:39:29 UTC) #4
qsr
+TBR darin for owner approval.
7 years, 3 months ago (2013-08-28 09:40:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/22920005/1
7 years, 3 months ago (2013-08-28 09:42:41 UTC) #6
mkosiba (inactive)
https://chromiumcodereview.appspot.com/22920005/diff/1/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://chromiumcodereview.appspot.com/22920005/diff/1/android_webview/native/aw_contents.cc#newcode308 android_webview/native/aw_contents.cc:308: base::Bind(&GenerateMHTMLCallback, path, base::Owned(j_callback))); looks like this should be taget_path ...
7 years, 3 months ago (2013-08-28 10:34:36 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-08-28 10:42:44 UTC) #8
qsr
https://chromiumcodereview.appspot.com/22920005/diff/1/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://chromiumcodereview.appspot.com/22920005/diff/1/android_webview/native/aw_contents.cc#newcode308 android_webview/native/aw_contents.cc:308: base::Bind(&GenerateMHTMLCallback, path, base::Owned(j_callback))); Yep... Thanks and done.
7 years, 3 months ago (2013-08-28 11:21:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/22920005/30001
7 years, 3 months ago (2013-08-28 11:25:24 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-08-28 12:05:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/22920005/47001
7 years, 3 months ago (2013-08-28 12:13:11 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-08-28 12:43:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/22920005/64001
7 years, 3 months ago (2013-08-28 12:52:57 UTC) #14
commit-bot: I haz the power
Change committed as 220059
7 years, 3 months ago (2013-08-28 18:19:51 UTC) #15
joth
(maybe for a follow up...) https://chromiumcodereview.appspot.com/22920005/diff/64001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://chromiumcodereview.appspot.com/22920005/diff/64001/android_webview/native/aw_contents.cc#newcode308 android_webview/native/aw_contents.cc:308: base::Bind(&GenerateMHTMLCallback, base::Owned(j_callback), target_path)); GenerateMHTMLCallback ...
7 years, 3 months ago (2013-08-28 19:02:37 UTC) #16
qsr
https://codereview.chromium.org/22920005/diff/64001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/22920005/diff/64001/android_webview/native/aw_contents.cc#newcode308 android_webview/native/aw_contents.cc:308: base::Bind(&GenerateMHTMLCallback, base::Owned(j_callback), target_path)); On 2013/08/28 19:02:37, joth wrote: > ...
7 years, 3 months ago (2013-08-29 08:45:37 UTC) #17
qsr
7 years, 3 months ago (2013-08-29 08:45:49 UTC) #18
joth
7 years, 3 months ago (2013-08-29 13:23:45 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/22920005/diff/64001/android_webview/native/aw...
File android_webview/native/aw_contents.cc (right):

https://codereview.chromium.org/22920005/diff/64001/android_webview/native/aw...
android_webview/native/aw_contents.cc:308: base::Bind(&GenerateMHTMLCallback,
base::Owned(j_callback), target_path));
On 2013/08/29 08:45:38, qsr wrote:
> On 2013/08/28 19:02:37, joth wrote:
> > GenerateMHTMLCallback completely ignores the |path| parameter passed to it
so
> > why not just remove it from the function rather than curry it in here?
> 
>  Which GenerateMHTMLCallback are you speaking about? The one just before this
> use the path argument. If it's the java one you are speaking about, I did not
go
> look at it, but looking at this, it does use the path argument.

Ah my mistake - I meant the one immediately above but I see it does use it after
all. Sorry for the bother!

Powered by Google App Engine
This is Rietveld 408576698