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

Side by Side Diff: ppapi/shared_impl/ppp_flash_browser_operations_shared.h

Issue 174213003: PPAPI: Use clang-format on ppapi/shared_impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove DEPS Created 6 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « ppapi/shared_impl/ppb_view_shared.cc ('k') | ppapi/shared_impl/ppp_instance_combined.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ 5 #ifndef PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ 6 #define PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ppapi/c/private/ppp_flash_browser_operations.h" 11 #include "ppapi/c/private/ppp_flash_browser_operations.h"
12 12
13 namespace ppapi { 13 namespace ppapi {
14 14
15 struct FlashSiteSetting { 15 struct FlashSiteSetting {
16 FlashSiteSetting() 16 FlashSiteSetting()
17 : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) { 17 : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) {}
18 }
19 FlashSiteSetting(const std::string& in_site, 18 FlashSiteSetting(const std::string& in_site,
20 PP_Flash_BrowserOperations_Permission in_permission) 19 PP_Flash_BrowserOperations_Permission in_permission)
21 : site(in_site), 20 : site(in_site), permission(in_permission) {}
22 permission(in_permission) {
23 }
24 21
25 std::string site; 22 std::string site;
26 PP_Flash_BrowserOperations_Permission permission; 23 PP_Flash_BrowserOperations_Permission permission;
27 }; 24 };
28 25
29 typedef std::vector<FlashSiteSetting> FlashSiteSettings; 26 typedef std::vector<FlashSiteSetting> FlashSiteSettings;
30 27
31 } // namespace ppapi 28 } // namespace ppapi
32 29
33 #endif // PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_ 30 #endif // PPAPI_SHARED_IMPL_PPP_FLASH_BROWSER_OPERATIONS_SHARED_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_view_shared.cc ('k') | ppapi/shared_impl/ppp_instance_combined.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698