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/web_ui_controller_factory_registry.h" | 5 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
8 #include "content/browser/frame_host/debug_urls.h" | 10 #include "content/browser/frame_host/debug_urls.h" |
9 #include "content/public/common/url_constants.h" | 11 #include "content/public/common/url_constants.h" |
10 #include "url/gurl.h" | 12 #include "url/gurl.h" |
11 | 13 |
12 namespace content { | 14 namespace content { |
13 | 15 |
14 base::LazyInstance<std::vector<WebUIControllerFactory*> > g_factories = | 16 base::LazyInstance<std::vector<WebUIControllerFactory*> > g_factories = |
15 LAZY_INSTANCE_INITIALIZER; | 17 LAZY_INSTANCE_INITIALIZER; |
16 | 18 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 IsRendererDebugURL(url); | 90 IsRendererDebugURL(url); |
89 } | 91 } |
90 | 92 |
91 WebUIControllerFactoryRegistry::WebUIControllerFactoryRegistry() { | 93 WebUIControllerFactoryRegistry::WebUIControllerFactoryRegistry() { |
92 } | 94 } |
93 | 95 |
94 WebUIControllerFactoryRegistry::~WebUIControllerFactoryRegistry() { | 96 WebUIControllerFactoryRegistry::~WebUIControllerFactoryRegistry() { |
95 } | 97 } |
96 | 98 |
97 } // namespace content | 99 } // namespace content |
OLD | NEW |