Index: content/browser/content_browser_client.cc |
diff --git a/content/browser/content_browser_client.cc b/content/browser/content_browser_client.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b96b55e7e7999e97bf8585fe99822d390715aebf |
--- /dev/null |
+++ b/content/browser/content_browser_client.cc |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/browser/content_browser_client.h" |
+ |
+#include "base/memory/singleton.h" |
+#include "content/browser/webui/empty_web_ui_factory.h" |
+ |
+namespace content { |
+ |
+WebUIFactory* ContentBrowserClient::GetWebUIFactory() { |
+ // Return an empty factory so callsites don't have to check for NULL. |
+ return EmptyWebUIFactory::Get(); |
+} |
+ |
+} // namespace content |