I was attempting to test some code (not in //chrome) which uses GCMProfileService, but unfortunately, FakeGCMProfileService resides in //chrome, so this was not possible.
I took a look at FakeGCMProfileService's implementation, and I found that while it does include profile.h, it does not actually use a Profile at all. The class takes a Profile* in its constructor, but it does not save it or reference it at all.
It would be great if FakeGCMProfileService were a sibling to the normal GCMProfileService for testing purposes.
Comment 1 by peter@chromium.org
, Apr 9 2018Status: Started (was: Untriaged)