OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/extensions/api/streams_private/streams_private_api.h" | 5 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" |
6 | 6 |
| 7 #include <limits.h> |
| 8 |
7 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
8 #include "base/values.h" | 10 #include "base/values.h" |
9 #include "chrome/browser/extensions/extension_tab_util.h" | 11 #include "chrome/browser/extensions/extension_tab_util.h" |
10 #include "chrome/common/extensions/api/streams_private.h" | 12 #include "chrome/common/extensions/api/streams_private.h" |
11 #include "content/public/browser/stream_handle.h" | 13 #include "content/public/browser/stream_handle.h" |
12 #include "content/public/browser/stream_info.h" | 14 #include "content/public/browser/stream_info.h" |
13 #include "extensions/browser/event_router.h" | 15 #include "extensions/browser/event_router.h" |
14 #include "extensions/browser/extension_function_registry.h" | 16 #include "extensions/browser/extension_function_registry.h" |
15 #include "extensions/browser/extension_registry.h" | 17 #include "extensions/browser/extension_registry.h" |
16 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_stream_ma
nager.h" | 18 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_stream_ma
nager.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 static base::LazyInstance<BrowserContextKeyedAPIFactory<StreamsPrivateAPI> > | 171 static base::LazyInstance<BrowserContextKeyedAPIFactory<StreamsPrivateAPI> > |
170 g_factory = LAZY_INSTANCE_INITIALIZER; | 172 g_factory = LAZY_INSTANCE_INITIALIZER; |
171 | 173 |
172 // static | 174 // static |
173 BrowserContextKeyedAPIFactory<StreamsPrivateAPI>* | 175 BrowserContextKeyedAPIFactory<StreamsPrivateAPI>* |
174 StreamsPrivateAPI::GetFactoryInstance() { | 176 StreamsPrivateAPI::GetFactoryInstance() { |
175 return g_factory.Pointer(); | 177 return g_factory.Pointer(); |
176 } | 178 } |
177 | 179 |
178 } // namespace extensions | 180 } // namespace extensions |
OLD | NEW |