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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_broker_host.h

Issue 11316316: Implement an IsAllowed function in the pepper PPB_Broker_Trusted API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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: chrome/browser/renderer_host/pepper/pepper_broker_host.h
diff --git a/chrome/browser/renderer_host/pepper/pepper_broker_host.h b/chrome/browser/renderer_host/pepper/pepper_broker_host.h
new file mode 100644
index 0000000000000000000000000000000000000000..120970186998979277a69540ebd679003f05f53a
--- /dev/null
+++ b/chrome/browser/renderer_host/pepper/pepper_broker_host.h
@@ -0,0 +1,29 @@
+// 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_BROWSER_RENDERER_HOST_PEPPER_PEPPER_BROKER_HOST_H_
+#define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_BROKER_HOST_H_
+
+#include "ppapi/host/resource_host.h"
+
+namespace content {
+class BrowserPpapiHost;
+}
+
+namespace chrome {
+
+class PepperBrokerHost : public ppapi::host::ResourceHost {
+ public:
+ PepperBrokerHost(content::BrowserPpapiHost* host,
+ PP_Instance instance,
+ PP_Resource resource);
+ virtual ~PepperBrokerHost();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PepperBrokerHost);
+};
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_BROKER_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698