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

Side by Side Diff: content/browser/content_browser_client.cc

Issue 6693054: Get rid of extensions dependency from content\browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/in_process_webkit/webkit_context_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698