Chromium Code Reviews| Index: content/public/browser/context_factory.h |
| diff --git a/content/public/browser/context_factory.h b/content/public/browser/context_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..07f2462279b0499b34ed62b09cce72c9c77e8a22 |
| --- /dev/null |
| +++ b/content/public/browser/context_factory.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2014 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. |
| + |
| +#ifndef CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ |
| +#define CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ |
| + |
| +#include "content/common/content_export.h" |
| + |
| +namespace ui { |
| +class ContextFactory; |
| +} |
| + |
| +namespace content { |
| + |
| +// Returns the singleton ContextFactory used by content. The return value is |
| +// owned by content. |
| +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
|
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ |