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

Unified Diff: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h

Issue 10803050: Hook up the PPB_Flash_Print interface to new host system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months 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: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h
diff --git a/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h b/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..46813b1481bef21c0e6ee3706f4e680a06d506bc
--- /dev/null
+++ b/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2012 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 CHROME_RENDERER_PEPPER_CHROME_RENDERER_PEPPER_HOST_FACTORY_H_
+#define CHROME_RENDERER_PEPPER_CHROME_RENDERER_PEPPER_HOST_FACTORY_H_
+
+#include "base/compiler_specific.h"
+#include "ppapi/host/host_factory.h"
+#include "ppapi/shared_impl/ppapi_permissions.h"
+
+namespace chrome {
+
+class PepperInstanceStateAccessor;
+
+class ChromeRendererPepperHostFactory
+ : public ppapi::host::HostFactory {
dmichael (off chromium) 2012/07/25 16:57:27 nit: it looks like your base class could fit on th
+ public:
+ explicit ChromeRendererPepperHostFactory();
dmichael (off chromium) 2012/07/25 16:57:27 nit: explicit is unnecessary
+ virtual ~ChromeRendererPepperHostFactory();
+
+ // HostFactory.
+ virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
+ ppapi::host::PpapiHost* host,
+ const ppapi::proxy::ResourceMessageCallParams& params,
+ PP_Instance instance,
+ const IPC::Message& message) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromeRendererPepperHostFactory);
+};
+
+} // namespace chrome
+
+#endif // CHROME_RENDERER_PEPPER_CHROME_RENDERER_PEPPER_HOST_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698