| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ | |
| 6 #define PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "ppapi/c/private/ppp_flash_browser_operations.h" | |
| 12 | |
| 13 namespace ppapi { | |
| 14 | |
| 15 struct FlashSiteSetting { | |
| 16 FlashSiteSetting() | |
| 17 : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) { | |
| 18 } | |
| 19 FlashSiteSetting(const std::string& in_site, | |
| 20 PP_Flash_BrowserOperations_Permission in_permission) | |
| 21 : site(in_site), | |
| 22 permission(in_permission) { | |
| 23 } | |
| 24 | |
| 25 std::string site; | |
| 26 PP_Flash_BrowserOperations_Permission permission; | |
| 27 }; | |
| 28 | |
| 29 typedef std::vector<FlashSiteSetting> FlashSiteSettings; | |
| 30 | |
| 31 } // namespace ppapi | |
| 32 | |
| 33 #endif // PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ | |
| OLD | NEW |