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

Issue 2899113002: Explicitly catch tests in chrome/ not using proper test profiles. (Closed)

Created:
3 years, 7 months ago by Avi (use Gerrit)
Modified:
3 years, 6 months ago
Reviewers:
Charlie Reis, Nico
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Explicitly catch tests in chrome/ not using proper test profiles. Pretty much all chrome/ code assumes that BrowserContexts are Profiles because those are the BrowserContexts that Chrome instantiates. Explicitly catch test code that violates that assumption. BUG=725276, 721975 Review-Url: https://codereview.chromium.org/2899113002 Cr-Commit-Position: refs/heads/master@{#476007} Committed: https://chromium.googlesource.com/chromium/src/+/fadbe57adf56100e2f7995ac7c94a9205fbc6aef

Patch Set 1 #

Patch Set 2 : more ifdef #

Patch Set 3 : compile #

Patch Set 4 : fxi #

Patch Set 5 : really fix #

Patch Set 6 : nil #

Patch Set 7 : android sequence #

Patch Set 8 : set #

Patch Set 9 : nil #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -3 lines) Patch
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 6 7 8 2 chunks +46 lines, -3 lines 0 comments Download

Messages

Total messages: 64 (52 generated)
Avi (use Gerrit)
Bots are mostly green. WDYT?
3 years, 7 months ago (2017-05-24 00:01:07 UTC) #20
Charlie Reis
On 2017/05/24 00:01:07, Avi (ping after 24h) wrote: > Bots are mostly green. WDYT? Sure, ...
3 years, 7 months ago (2017-05-25 02:08:28 UTC) #33
Avi (use Gerrit)
On 2017/05/25 02:08:28, Charlie Reis (overloaded) wrote: > On 2017/05/24 00:01:07, Avi (ping after 24h) ...
3 years, 7 months ago (2017-05-25 03:52:26 UTC) #34
Avi (use Gerrit)
For Charlie: - Yes, this would have caught the other issue. Nico: - Please review.
3 years, 7 months ago (2017-05-26 16:04:04 UTC) #48
Avi (use Gerrit)
ping
3 years, 6 months ago (2017-05-31 15:25:54 UTC) #49
Nico
lgtm
3 years, 6 months ago (2017-05-31 17:30:28 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/2899113002/160001
3 years, 6 months ago (2017-05-31 17:32:33 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/190313) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 6 months ago (2017-05-31 17:39:36 UTC) #55
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/2899113002/160001
3 years, 6 months ago (2017-05-31 17:44:28 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/379774)
3 years, 6 months ago (2017-05-31 18:48:01 UTC) #59
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/2899113002/160001
3 years, 6 months ago (2017-05-31 18:56:57 UTC) #61
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 20:41:57 UTC) #64
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/fadbe57adf56100e2f7995ac7c94...

Powered by Google App Engine
This is Rietveld 408576698