Index: content/browser/browser_plugin/browser_plugin_host_role.h |
diff --git a/content/browser/browser_plugin/browser_plugin_host_role.h b/content/browser/browser_plugin/browser_plugin_host_role.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a37c376ca85ad94202fec4caab1d5d1d4d1da737 |
--- /dev/null |
+++ b/content/browser/browser_plugin/browser_plugin_host_role.h |
@@ -0,0 +1,24 @@ |
+// 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 CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_ROLE_H_ |
+#define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_ROLE_H_ |
+ |
+namespace content { |
+ |
+// Base class for browser plugin host role. A WebContents having a (concrete |
+// implementation of) role means it can operate in that role, roles can be |
+// dynamically added. |
+class BrowserPluginHostRole { |
+ public: |
+ BrowserPluginHostRole() {} |
+ virtual ~BrowserPluginHostRole() {} |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(BrowserPluginHostRole); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_ROLE_H_ |