OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_PLUGINS_CHROME_CONTENT_BROWSER_CLIENT_PLUGINS_PART_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_CHROME_CONTENT_BROWSER_CLIENT_PLUGINS_PART_H_ |
6 #define CHROME_BROWSER_PLUGINS_CHROME_CONTENT_BROWSER_CLIENT_PLUGINS_PART_H_ | 6 #define CHROME_BROWSER_PLUGINS_CHROME_CONTENT_BROWSER_CLIENT_PLUGINS_PART_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/chrome_content_browser_client_parts.h" | 9 #include "chrome/browser/chrome_content_browser_client_parts.h" |
10 #include "content/public/browser/browser_ppapi_host.h" | 10 #include "content/public/browser/browser_ppapi_host.h" |
(...skipping 14 matching lines...) Expand all Loading... | |
25 const GURL& url, | 25 const GURL& url, |
26 const std::set<std::string>& allowed_dev_channel_origins); | 26 const std::set<std::string>& allowed_dev_channel_origins); |
27 | 27 |
28 static bool AllowPepperSocketAPI( | 28 static bool AllowPepperSocketAPI( |
29 content::BrowserContext* browser_context, | 29 content::BrowserContext* browser_context, |
30 const GURL& url, | 30 const GURL& url, |
31 bool private_api, | 31 bool private_api, |
32 const content::SocketPermissionRequest* params, | 32 const content::SocketPermissionRequest* params, |
33 const std::set<std::string>& allowed_socket_origin); | 33 const std::set<std::string>& allowed_socket_origin); |
34 | 34 |
35 static bool AllowPepperVpnProviderAPI( | |
sky
2016/05/17 19:08:37
This sounds like it's allowing something, vs query
adrian.belgun
2016/05/17 20:13:32
In this patch I was closely following the naming s
| |
36 content::BrowserContext* browser_context, | |
37 const GURL& url); | |
38 | |
35 static bool IsPluginAllowedToCallRequestOSFileHandle( | 39 static bool IsPluginAllowedToCallRequestOSFileHandle( |
36 content::BrowserContext* browser_context, | 40 content::BrowserContext* browser_context, |
37 const GURL& url, | 41 const GURL& url, |
38 const std::set<std::string>& allowed_file_handle_origins); | 42 const std::set<std::string>& allowed_file_handle_origins); |
39 | 43 |
40 static void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host); | 44 static void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host); |
41 | 45 |
42 private: | 46 private: |
43 // ChromeContentBrowserClientParts: | 47 // ChromeContentBrowserClientParts: |
44 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; | 48 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; |
45 | 49 |
46 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClientPluginsPart); | 50 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClientPluginsPart); |
47 }; | 51 }; |
48 | 52 |
49 } // namespace plugins | 53 } // namespace plugins |
50 | 54 |
51 #endif // CHROME_BROWSER_PLUGINS_CHROME_CONTENT_BROWSER_CLIENT_PLUGINS_PART_H_ | 55 #endif // CHROME_BROWSER_PLUGINS_CHROME_CONTENT_BROWSER_CLIENT_PLUGINS_PART_H_ |
OLD | NEW |