Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1386)

Unified Diff: content/public/browser/context_factory.h

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Restore mash Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/context_factory.h
diff --git a/content/public/browser/context_factory.h b/content/public/browser/context_factory.h
index 07f2462279b0499b34ed62b09cce72c9c77e8a22..adcd8a5b989792906a3c4f7105b646636756a886 100644
--- a/content/public/browser/context_factory.h
+++ b/content/public/browser/context_factory.h
@@ -9,6 +9,7 @@
namespace ui {
class ContextFactory;
+class ContextFactoryPrivate;
}
namespace content {
@@ -17,6 +18,12 @@ namespace content {
// owned by content.
CONTENT_EXPORT ui::ContextFactory* GetContextFactory();
+// Returns the singleton ContextFactoryPrivate used by content. The return value
+// is owned by content.
+// TODO(fsamuel): Once Mus is used on all platforms, this private interface
+// should not be necessary.
+CONTENT_EXPORT ui::ContextFactoryPrivate* GetContextFactoryPrivate();
+
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698