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

Issue 1458703009: Remove ServiceIsNullForTesting override for FaviconServiceFactory (Closed)

Created:
5 years, 1 month ago by Jackie Quinn
Modified:
5 years, 1 month ago
Reviewers:
sdefresne
CC:
browser-components-watch_chromium.org, chromium-reviews, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ServiceIsNullForTesting override for FaviconServiceFactory Removes ServiceIsNullForTesting override in FaviconServiceFactory to enable use of FaviconServiceFactory in tests. BUG=557415 Committed: https://crrev.com/19acda1ba5c116bbc4cea6c9163d10c65a9ba1c8 Cr-Commit-Position: refs/heads/master@{#361108}

Patch Set 1 #

Patch Set 2 : comment fix #

Total comments: 9

Patch Set 3 : Remove return null for testing instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -5 lines) Patch
M ios/chrome/browser/favicon/favicon_service_factory.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/favicon/favicon_service_factory.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Jackie Quinn
5 years, 1 month ago (2015-11-20 18:40:54 UTC) #2
sdefresne
TL;DR: BrowserStateKeyedServiceFactory return a valid service by default during tests unless ServiceIsNULLWhileTesting() is overridden to ...
5 years, 1 month ago (2015-11-21 01:52:03 UTC) #3
Jackie Quinn
It worked!! Thanks a bunch :-) Much simpler patch uploaded.
5 years, 1 month ago (2015-11-21 02:47:08 UTC) #5
sdefresne
lgtm
5 years, 1 month ago (2015-11-21 08:20:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458703009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458703009/40001
5 years, 1 month ago (2015-11-23 15:28:10 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-23 15:42:28 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 15:43:17 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/19acda1ba5c116bbc4cea6c9163d10c65a9ba1c8
Cr-Commit-Position: refs/heads/master@{#361108}

Powered by Google App Engine
This is Rietveld 408576698