Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 22872009: Disallow use of content::TestBrowserContext from //chrome/browser. (Closed)

Created:
7 years, 4 months ago by Jói
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Disallow use of content::TestBrowserContext from //chrome/browser. Remove the single such use that I found. Full rationale in chromium-dev thread at http://goo.gl/QQG5wo. Short story is that this can lead to an invalid cast (to Profile) in some of the commonly-used test harnesses under //chrome/browser, and within //chrome/browser a TestingProfile should be used instead. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218006

Patch Set 1 #

Patch Set 2 : Rename variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M chrome/browser/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/event_listener_map_unittest.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Jói
7 years, 4 months ago (2013-08-15 11:43:00 UTC) #1
jochen (gone - plz use gerrit)
lgtm
7 years, 4 months ago (2013-08-16 08:59:02 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/22872009/2001
7 years, 4 months ago (2013-08-16 09:09:27 UTC) #3
commit-bot: I haz the power
7 years, 4 months ago (2013-08-16 12:54:42 UTC) #4
Message was sent while issue was closed.
Change committed as 218006

Powered by Google App Engine
This is Rietveld 408576698