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

Issue 1877273002: [Media Router Tests] Add tests for MediaRouterFactory. (Closed)

Created:
4 years, 8 months ago by imcheng
Modified:
4 years, 8 months ago
Reviewers:
mark a. foltz, dcheng
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, media-router+watch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router Tests] Add tests for MediaRouterFactory. Committed: https://crrev.com/4f04fcb749ed895a6d5baa72a0ff164fa27589e6 Cr-Commit-Position: refs/heads/master@{#389721}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Addressed comments #

Patch Set 4 : git cl try #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -0 lines) Patch
M chrome/browser/media/router/media_router_factory.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router_factory.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/media/router/media_router_factory_unittest.cc View 1 2 1 chunk +66 lines, -0 lines 1 comment Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
imcheng
PTAL, thanks.
4 years, 8 months ago (2016-04-12 09:50:08 UTC) #2
mark a. foltz
Thanks! https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h File chrome/browser/media/router/media_router_factory.h (right): https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h#newcode34 chrome/browser/media/router/media_router_factory.h:34: FRIEND_TEST_ALL_PREFIXES(MediaRouterFactoryTest, Can be removed if the static fn ...
4 years, 8 months ago (2016-04-12 17:21:23 UTC) #3
imcheng
https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h File chrome/browser/media/router/media_router_factory.h (right): https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h#newcode34 chrome/browser/media/router/media_router_factory.h:34: FRIEND_TEST_ALL_PREFIXES(MediaRouterFactoryTest, On 2016/04/12 17:21:23, mark a. foltz wrote: > ...
4 years, 8 months ago (2016-04-12 17:56:33 UTC) #4
mark a. foltz
On 2016/04/12 at 17:56:33, imcheng wrote: > https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h > File chrome/browser/media/router/media_router_factory.h (right): > > https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h#newcode34 ...
4 years, 8 months ago (2016-04-12 20:40:03 UTC) #5
imcheng
On 2016/04/12 20:40:03, mark a. foltz wrote: > On 2016/04/12 at 17:56:33, imcheng wrote: > ...
4 years, 8 months ago (2016-04-14 21:48:08 UTC) #6
mark a. foltz
lgtm with one requested change https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h File chrome/browser/media/router/media_router_factory.h (right): https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h#newcode41 chrome/browser/media/router/media_router_factory.h:41: static MediaRouterFactory* GetMediaRouterFactory(); On ...
4 years, 8 months ago (2016-04-22 21:17:55 UTC) #7
imcheng
https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h File chrome/browser/media/router/media_router_factory.h (right): https://codereview.chromium.org/1877273002/diff/20001/chrome/browser/media/router/media_router_factory.h#newcode41 chrome/browser/media/router/media_router_factory.h:41: static MediaRouterFactory* GetMediaRouterFactory(); On 2016/04/22 21:17:55, mark a. foltz ...
4 years, 8 months ago (2016-04-26 07:02:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877273002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877273002/60001
4 years, 8 months ago (2016-04-26 07:02:56 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-26 07:43:58 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4f04fcb749ed895a6d5baa72a0ff164fa27589e6 Cr-Commit-Position: refs/heads/master@{#389721}
4 years, 8 months ago (2016-04-26 07:45:12 UTC) #14
Marc Treib
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1916973003/ by treib@chromium.org. ...
4 years, 8 months ago (2016-04-26 07:55:31 UTC) #15
dcheng
4 years, 8 months ago (2016-04-26 08:26:13 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/1877273002/diff/60001/chrome/browser/media/ro...
File chrome/browser/media/router/media_router_factory_unittest.cc (right):

https://codereview.chromium.org/1877273002/diff/60001/chrome/browser/media/ro...
chrome/browser/media/router/media_router_factory_unittest.cc:17:
scoped_ptr<KeyedService> CreateMockMediaRouter(
Please use std::unique_ptr and base::WrapUnique. scoped_ptr is being removed
very shortly (probably tomorrow)

Powered by Google App Engine
This is Rietveld 408576698