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

Issue 2565823002: Reland: Add test for system tray network menu icon for extension-controlled networks (Closed)

Created:
4 years ago by James Cook
Modified:
4 years ago
Reviewers:
stevenjb
CC:
chromium-reviews, kalyank, sadrul, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Add test for system tray network menu icon for extension-controlled networks Original CL http://crrev.com/2558083003 was reverted for use-after-free caused by my test network detailed view registering observers that were not properly cleaned up. Switched to using the real system menu network detailed view. Eventually extension-controlled network information will come out of a mojo service. This provides test coverage to make sure the icon shows up in the system tray menu. BUG=651157 TEST=chrome browser_tests Committed: https://crrev.com/4b7224833d7a739afb2cb1758a2acbe6509d12cc Cr-Commit-Position: refs/heads/master@{#437627}

Patch Set 1 #

Patch Set 2 : fix use-after-free #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -1 line) Patch
M ash/common/system/networking_config_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray.h View 3 chunks +3 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray.cc View 3 chunks +7 lines, -1 line 0 comments Download
A chrome/browser/ui/ash/networking_config_delegate_chromeos_browsertest.cc View 1 1 chunk +79 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/networking_config_delegate/background.js View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/networking_config_delegate/manifest.json View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
James Cook
Steven, please take a look. It turns out a test cannot just create its own ...
4 years ago (2016-12-09 17:54:20 UTC) #4
stevenjb
Ah, right. I knew that was too easy :) Thanks for uploading the baseline. LGTM
4 years ago (2016-12-09 17:58:25 UTC) #8
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/2565823002/20001
4 years ago (2016-12-09 18:00:24 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-09 20:35:40 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-12 14:39:55 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4b7224833d7a739afb2cb1758a2acbe6509d12cc
Cr-Commit-Position: refs/heads/master@{#437627}

Powered by Google App Engine
This is Rietveld 408576698