Abstract GoogleURLTracker & google_util Profile dependencies
[chromium-blink-merge.git] / ppapi / shared_impl / ppp_flash_browser_operations_shared.h
blob7584390ea85250bbdef1eb5eb0f5b1bacc488026
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.
5 #ifndef PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_
8 #include <string>
9 #include <vector>
11 #include "ppapi/c/private/ppp_flash_browser_operations.h"
13 namespace ppapi {
15 struct FlashSiteSetting {
16 FlashSiteSetting()
17 : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) {}
18 FlashSiteSetting(const std::string& in_site,
19 PP_Flash_BrowserOperations_Permission in_permission)
20 : site(in_site), permission(in_permission) {}
22 std::string site;
23 PP_Flash_BrowserOperations_Permission permission;
26 typedef std::vector<FlashSiteSetting> FlashSiteSettings;
28 } // namespace ppapi
30 #endif // PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_