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

Issue 2753513006: Remove ...LOADED_DEPRECATED and its friends (Closed)

Created:
3 years, 9 months ago by limasdf
Modified:
3 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ...LOADED_DEPRECATED and its friends Use ExtensionRegistryObserver instead of NOTIFICATION_EXTENSION_LOADED_DEPRECATED from ExtensionTestNotificationObserver. Also, Remove ExtensionTestNotificationObserver::WaitForExtensionLoad() since it has a possibility to catch unexpected extension's loaded notification. Instead of that, use TestExtensionRegistryObserver. BUG=411568 TEST=browser_tests Review-Url: https://codereview.chromium.org/2753513006 Cr-Commit-Position: refs/heads/master@{#464703} Committed: https://chromium.googlesource.com/chromium/src/+/184283c3b2e690cf6839278e7dfb034fe98413b3

Patch Set 1 #

Total comments: 5

Patch Set 2 : To run test bot #

Patch Set 3 : Back to DISABLED_ as original did #

Total comments: 2

Patch Set 4 : include .h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -62 lines) Patch
M chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc View 2 chunks +4 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc View 1 2 3 4 chunks +7 lines, -13 lines 0 comments Download
M chrome/browser/extensions/chrome_extension_test_notification_observer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/chrome_extension_test_notification_observer.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_crash_recovery_browsertest.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M extensions/test/extension_test_notification_observer.h View 1 5 chunks +14 lines, -5 lines 0 comments Download
M extensions/test/extension_test_notification_observer.cc View 1 4 chunks +17 lines, -11 lines 0 comments Download

Messages

Total messages: 55 (38 generated)
limasdf
Hi Devlin, Please take a look when you have time. https://codereview.chromium.org/2753513006/diff/220001/chrome/browser/extensions/chrome_extension_test_notification_observer.cc File chrome/browser/extensions/chrome_extension_test_notification_observer.cc (right): https://codereview.chromium.org/2753513006/diff/220001/chrome/browser/extensions/chrome_extension_test_notification_observer.cc#newcode5 ...
3 years, 8 months ago (2017-03-29 15:24:55 UTC) #24
Devlin
https://codereview.chromium.org/2753513006/diff/220001/chrome/browser/extensions/chrome_extension_test_notification_observer.cc File chrome/browser/extensions/chrome_extension_test_notification_observer.cc (right): https://codereview.chromium.org/2753513006/diff/220001/chrome/browser/extensions/chrome_extension_test_notification_observer.cc#newcode5 chrome/browser/extensions/chrome_extension_test_notification_observer.cc:5: #include <chrome/browser/extensions/chrome_extension_test_notification_observer.h> On 2017/03/29 15:24:55, limasdf wrote: > is ...
3 years, 8 months ago (2017-03-30 22:21:57 UTC) #25
limasdf
Thanks for the comment. I'll ping you again when ready. (No updates yet. but I ...
3 years, 8 months ago (2017-04-03 13:52:50 UTC) #26
limasdf
PTAL when you have time. https://codereview.chromium.org/2753513006/diff/220001/chrome/browser/extensions/extension_crash_recovery_browsertest.cc File chrome/browser/extensions/extension_crash_recovery_browsertest.cc (right): https://codereview.chromium.org/2753513006/diff/220001/chrome/browser/extensions/extension_crash_recovery_browsertest.cc#newcode151 chrome/browser/extensions/extension_crash_recovery_browsertest.cc:151: base::RunLoop().RunUntilIdle(); On 2017/04/03 13:52:50, ...
3 years, 8 months ago (2017-04-06 15:58:57 UTC) #32
Devlin
Nice! As long as the bots are happy, lgtm. Thanks for the cleanup! :)
3 years, 8 months ago (2017-04-06 21:18:13 UTC) #33
limasdf
Hi Alexander and emaxx. Could you please take a look this cleanup? Alexander -> chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc ...
3 years, 8 months ago (2017-04-07 02:04:53 UTC) #35
emaxx
LGTM with one note for chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc https://codereview.chromium.org/2753513006/diff/350001/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc File chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc (right): https://codereview.chromium.org/2753513006/diff/350001/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc#newcode30 chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc:30: #include "chrome/browser/extensions/chrome_test_extension_loader.cc" .h ...
3 years, 8 months ago (2017-04-07 10:05:26 UTC) #36
limasdf
https://codereview.chromium.org/2753513006/diff/350001/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc File chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc (right): https://codereview.chromium.org/2753513006/diff/350001/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc#newcode30 chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc:30: #include "chrome/browser/extensions/chrome_test_extension_loader.cc" On 2017/04/07 10:05:25, emaxx wrote: > .h ...
3 years, 8 months ago (2017-04-07 12:04:40 UTC) #37
Alexander Alekseev
I don't think I am owner of any of these. It also looks like there ...
3 years, 8 months ago (2017-04-07 22:29:20 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2753513006/370001
3 years, 8 months ago (2017-04-08 01:03:06 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/406157)
3 years, 8 months ago (2017-04-08 01:14:53 UTC) #44
limasdf
Alexander, you're the owner of chrome/browser/chromeos/first_run/ the change is small I believe it doesn't take ...
3 years, 8 months ago (2017-04-08 01:21:58 UTC) #46
limasdf
Oshima, Would you mind taking a look hrome/browser/chromeos/first_run/drive_first_run_browsertest.cc?
3 years, 8 months ago (2017-04-14 02:20:45 UTC) #48
oshima
lgtm
3 years, 8 months ago (2017-04-14 07:39:10 UTC) #49
limasdf
Thank you very much, Oshima!
3 years, 8 months ago (2017-04-14 07:40:08 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2753513006/370001
3 years, 8 months ago (2017-04-14 07:40:33 UTC) #52
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 08:23:31 UTC) #55
Message was sent while issue was closed.
Committed patchset #4 (id:370001) as
https://chromium.googlesource.com/chromium/src/+/184283c3b2e690cf6839278e7dfb...

Powered by Google App Engine
This is Rietveld 408576698