summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_url_handler_unittest.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-27 17:47:37 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-27 17:47:37 +0000
commit3d7474fffebf62e0bbd2fe3f03996af3f28b8180 (patch)
tree9cdd26d0eb2c245da54447262e043fc620fdaaf6 /content/browser/browser_url_handler_unittest.cc
parent291fb3ed59e445c03756fa678c0935fc7140cdcf (diff)
downloadchromium_src-3d7474fffebf62e0bbd2fe3f03996af3f28b8180.zip
chromium_src-3d7474fffebf62e0bbd2fe3f03996af3f28b8180.tar.gz
chromium_src-3d7474fffebf62e0bbd2fe3f03996af3f28b8180.tar.bz2
Removal of Profile from content part 1.
BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7464009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_url_handler_unittest.cc')
-rw-r--r--content/browser/browser_url_handler_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/browser_url_handler_unittest.cc b/content/browser/browser_url_handler_unittest.cc
index fec59e5..9168522 100644
--- a/content/browser/browser_url_handler_unittest.cc
+++ b/content/browser/browser_url_handler_unittest.cc
@@ -11,7 +11,7 @@ class BrowserURLHandlerTest : public testing::Test {
};
// Test URL rewriter that rewrites all "foo://" URLs to "bar://bar".
-static bool FooRewriter(GURL* url, Profile* profile) {
+static bool FooRewriter(GURL* url, content::BrowserContext* browser_context) {
if (url->scheme() == "foo") {
*url = GURL("bar://bar");
return true;
@@ -20,7 +20,7 @@ static bool FooRewriter(GURL* url, Profile* profile) {
}
// Test URL rewriter that rewrites all "bar://" URLs to "foo://foo".
-static bool BarRewriter(GURL* url, Profile* profile) {
+static bool BarRewriter(GURL* url, content::BrowserContext* browser_context) {
if (url->scheme() == "bar") {
*url = GURL("foo://foo");
return true;