| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/content_browser_client.h" | 5 #include "content/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 8 #include "content/browser/webui/empty_web_ui_factory.h" | 8 #include "content/browser/webui/empty_web_ui_factory.h" |
| 9 #include "googleurl/src/gurl.h" |
| 9 | 10 |
| 10 namespace content { | 11 namespace content { |
| 11 | 12 |
| 12 WebUIFactory* ContentBrowserClient::GetWebUIFactory() { | 13 WebUIFactory* ContentBrowserClient::GetWebUIFactory() { |
| 13 // Return an empty factory so callsites don't have to check for NULL. | 14 // Return an empty factory so callsites don't have to check for NULL. |
| 14 return EmptyWebUIFactory::Get(); | 15 return EmptyWebUIFactory::Get(); |
| 15 } | 16 } |
| 16 | 17 |
| 18 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { |
| 19 return url; |
| 20 } |
| 21 |
| 17 } // namespace content | 22 } // namespace content |
| OLD | NEW |