Index: ppapi/shared_impl/ppp_flash_browser_operations_shared.h |
diff --git a/ppapi/shared_impl/ppp_flash_browser_operations_shared.h b/ppapi/shared_impl/ppp_flash_browser_operations_shared.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c77ad2bd9a4e7c0aa40af138bc8a47082ed0ab27 |
--- /dev/null |
+++ b/ppapi/shared_impl/ppp_flash_browser_operations_shared.h |
@@ -0,0 +1,33 @@ |
+// 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 PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ |
+#define PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ |
+ |
+#include <string> |
+#include <vector> |
+ |
+#include "ppapi/c/private/ppp_flash_browser_operations.h" |
+ |
+namespace ppapi { |
+ |
+struct FlashSiteSetting { |
+ FlashSiteSetting() |
+ : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) { |
+ } |
+ FlashSiteSetting(const std::string& in_site, |
+ PP_Flash_BrowserOperations_Permission in_permission) |
+ : site(in_site), |
+ permission(in_permission) { |
+ } |
+ |
+ std::string site; |
+ PP_Flash_BrowserOperations_Permission permission; |
+}; |
+ |
+typedef std::vector<FlashSiteSetting> FlashSiteSettings; |
+ |
+} // namespace ppapi |
+ |
+#endif // PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ |