Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ | |
| 6 #define CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ | |
| 7 | |
| 8 #include "content/common/content_export.h" | |
| 9 | |
| 10 namespace ui { | |
| 11 class ContextFactory; | |
| 12 } | |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 16 // Returns the singleton ContextFactory used by content. The return value is | |
| 17 // owned by content. | |
| 18 CONTENT_EXPORT ui::ContextFactory* GetContextFactory(); | |
|
piman
2014/05/09 17:52:40
nit: should this be in #if defined(USE_AURA), to m
sky
2014/05/09 18:04:52
I tend to think it should be up to callers to do t
| |
| 19 | |
| 20 } // namespace content | |
| 21 | |
| 22 #endif // CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ | |
| OLD | NEW |