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

Issue 11867023: content: remove NOTIFICATION_SAVE_PACKAGE_SUCCESSFULLY_FINISHED (Closed)

Created:
7 years, 11 months ago by Paweł Hajdan Jr.
Modified:
7 years, 10 months ago
Reviewers:
jam
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, kkania, joi+watch-content_chromium.org, robertshield, rdsmith+dwatch_chromium.org, darin-cc_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

content: remove NOTIFICATION_SAVE_PACKAGE_SUCCESSFULLY_FINISHED BUG=170921 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178661

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment #

Patch Set 3 : no WindowedObserver #

Total comments: 2

Patch Set 4 : comment #

Total comments: 2

Patch Set 5 : fix #

Patch Set 6 : rebase and retry #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -67 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 chunk +18 lines, -18 lines 0 comments Download
M chrome/browser/browser_encoding_browsertest.cc View 1 2 3 chunks +38 lines, -4 lines 0 comments Download
M chrome/browser/download/save_page_browsertest.cc View 1 2 13 chunks +93 lines, -20 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/download/save_package.cc View 1 chunk +1 line, -10 lines 0 comments Download
M content/public/browser/download_manager.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/notification_types.h View 1 2 3 4 5 6 1 chunk +1 line, -6 lines 0 comments Download
M content/public/test/test_utils.h View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M content/public/test/test_utils.cc View 1 2 3 4 5 6 2 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Paweł Hajdan Jr.
7 years, 11 months ago (2013-01-18 20:01:44 UTC) #1
jam
the notification changes lg I'm not sure i see much value in WindowedObserver at this ...
7 years, 11 months ago (2013-01-18 22:45:33 UTC) #2
jam
https://codereview.chromium.org/11867023/diff/1/content/browser/download/download_manager_impl.h File content/browser/download/download_manager_impl.h (right): https://codereview.chromium.org/11867023/diff/1/content/browser/download/download_manager_impl.h#newcode50 content/browser/download/download_manager_impl.h:50: void OnSavePackageSuccessfullyFinished(DownloadItem* download_item); nit: add comment
7 years, 11 months ago (2013-01-18 22:49:56 UTC) #3
Paweł Hajdan Jr.
Eventually WindowedNotificationObserver would disappear, or at least move out of content. As test OWNER I ...
7 years, 11 months ago (2013-01-18 23:10:16 UTC) #4
jam
I think for notifications WindowedNotificationObserver was helpful because there was one way of registering for ...
7 years, 11 months ago (2013-01-22 01:21:57 UTC) #5
Paweł Hajdan Jr.
PTAL
7 years, 11 months ago (2013-01-22 22:49:09 UTC) #6
jam
lgtm https://codereview.chromium.org/11867023/diff/10001/content/public/test/test_utils.h File content/public/test/test_utils.h (right): https://codereview.chromium.org/11867023/diff/10001/content/public/test/test_utils.h#newcode52 content/public/test/test_utils.h:52: void Run(); nit: please add a small comment ...
7 years, 11 months ago (2013-01-23 01:30:28 UTC) #7
Paweł Hajdan Jr.
https://codereview.chromium.org/11867023/diff/10001/content/public/test/test_utils.h File content/public/test/test_utils.h (right): https://codereview.chromium.org/11867023/diff/10001/content/public/test/test_utils.h#newcode52 content/public/test/test_utils.h:52: void Run(); On 2013/01/23 01:30:28, John Abd-El-Malek wrote: > ...
7 years, 11 months ago (2013-01-23 01:48:03 UTC) #8
jam
https://codereview.chromium.org/11867023/diff/15002/content/public/test/test_utils.cc File content/public/test/test_utils.cc (right): https://codereview.chromium.org/11867023/diff/15002/content/public/test/test_utils.cc#newcode118 content/public/test/test_utils.cc:118: quit_closure_called_ = true; actually, I think you need to ...
7 years, 11 months ago (2013-01-23 05:25:31 UTC) #9
Jói
Hi guys, I took a quick look at the NotificationObserver idea and I agree it ...
7 years, 11 months ago (2013-01-23 10:21:24 UTC) #10
Paweł Hajdan Jr.
https://codereview.chromium.org/11867023/diff/15002/content/public/test/test_utils.cc File content/public/test/test_utils.cc (right): https://codereview.chromium.org/11867023/diff/15002/content/public/test/test_utils.cc#newcode118 content/public/test/test_utils.cc:118: quit_closure_called_ = true; On 2013/01/23 05:25:31, John Abd-El-Malek wrote: ...
7 years, 11 months ago (2013-01-23 17:41:40 UTC) #11
Paweł Hajdan Jr.
On 2013/01/23 10:21:24, Jói wrote: > Did we completely outlaw gMock? I ask because for ...
7 years, 10 months ago (2013-01-28 09:19:49 UTC) #12
jam
7 years, 10 months ago (2013-01-29 03:17:32 UTC) #13
On Mon, Jan 28, 2013 at 1:19 AM, <phajdan.jr@chromium.org> wrote:

> On 2013/01/23 10:21:24, Jói wrote:
>
>> Did we completely outlaw gMock?  I ask because for pure-virtual delegate
>> interfaces, it is a pretty ideal tool for implementing them in tests.
>>
>
> I think we didn't. Maybe I should give it a try then for following changes.
>

i would strongly prefer not introducing more usage of gmock in src\content.


>
>
https://codereview.chromium.**org/11867023/<https://codereview.chromium.org/1...
>

Powered by Google App Engine
This is Rietveld 408576698