OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/webui/content_web_ui_controller_factory.h" | 5 #include "content/browser/webui/content_web_ui_controller_factory.h" |
6 | 6 |
7 #include "content/browser/accessibility/accessibility_ui.h" | 7 #include "content/browser/accessibility/accessibility_ui.h" |
8 #include "content/browser/appcache/appcache_internals_ui.h" | 8 #include "content/browser/appcache/appcache_internals_ui.h" |
9 #include "content/browser/gpu/gpu_internals_ui.h" | 9 #include "content/browser/gpu/gpu_internals_ui.h" |
10 #include "content/browser/indexed_db/indexed_db_internals_ui.h" | 10 #include "content/browser/indexed_db/indexed_db_internals_ui.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 #if defined(ENABLE_WEBRTC) | 77 #if defined(ENABLE_WEBRTC) |
78 if (url.host() == kChromeUIWebRTCInternalsHost) | 78 if (url.host() == kChromeUIWebRTCInternalsHost) |
79 return new WebRTCInternalsUI(web_ui); | 79 return new WebRTCInternalsUI(web_ui); |
80 #endif | 80 #endif |
81 | 81 |
82 return nullptr; | 82 return nullptr; |
83 } | 83 } |
84 | 84 |
85 // static | 85 // static |
86 ContentWebUIControllerFactory* ContentWebUIControllerFactory::GetInstance() { | 86 ContentWebUIControllerFactory* ContentWebUIControllerFactory::GetInstance() { |
87 return Singleton<ContentWebUIControllerFactory>::get(); | 87 return base::Singleton<ContentWebUIControllerFactory>::get(); |
88 } | 88 } |
89 | 89 |
90 ContentWebUIControllerFactory::ContentWebUIControllerFactory() { | 90 ContentWebUIControllerFactory::ContentWebUIControllerFactory() { |
91 } | 91 } |
92 | 92 |
93 ContentWebUIControllerFactory::~ContentWebUIControllerFactory() { | 93 ContentWebUIControllerFactory::~ContentWebUIControllerFactory() { |
94 } | 94 } |
95 | 95 |
96 } // namespace content | 96 } // namespace content |
OLD | NEW |