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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 17029002: Change the permission check for Pepper socket API to support both the public and private APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 virtual std::string GetDefaultDownloadName() OVERRIDE; 221 virtual std::string GetDefaultDownloadName() OVERRIDE;
222 virtual void DidCreatePpapiPlugin( 222 virtual void DidCreatePpapiPlugin(
223 content::BrowserPpapiHost* browser_host) OVERRIDE; 223 content::BrowserPpapiHost* browser_host) OVERRIDE;
224 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 224 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
225 int plugin_process_id) OVERRIDE; 225 int plugin_process_id) OVERRIDE;
226 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, 226 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context,
227 const GURL& site_url) OVERRIDE; 227 const GURL& site_url) OVERRIDE;
228 virtual bool AllowPepperSocketAPI( 228 virtual bool AllowPepperSocketAPI(
229 content::BrowserContext* browser_context, 229 content::BrowserContext* browser_context,
230 const GURL& url, 230 const GURL& url,
231 bool private_api,
231 const content::SocketPermissionRequest& params) OVERRIDE; 232 const content::SocketPermissionRequest& params) OVERRIDE;
232 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; 233 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE;
233 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 234 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
234 content::WebContents* web_contents) OVERRIDE; 235 content::WebContents* web_contents) OVERRIDE;
235 virtual void GetAdditionalAllowedSchemesForFileSystem( 236 virtual void GetAdditionalAllowedSchemesForFileSystem(
236 std::vector<std::string>* additional_schemes) OVERRIDE; 237 std::vector<std::string>* additional_schemes) OVERRIDE;
237 virtual void GetAdditionalFileSystemMountPointProviders( 238 virtual void GetAdditionalFileSystemMountPointProviders(
238 const base::FilePath& storage_partition_path, 239 const base::FilePath& storage_partition_path,
239 ScopedVector<fileapi::FileSystemMountPointProvider>* 240 ScopedVector<fileapi::FileSystemMountPointProvider>*
240 additional_providers) OVERRIDE; 241 additional_providers) OVERRIDE;
(...skipping 22 matching lines...) Expand all
263 #endif 264 #endif
264 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 265 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
265 permissions_policy_delegate_; 266 permissions_policy_delegate_;
266 267
267 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 268 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
268 }; 269 };
269 270
270 } // namespace chrome 271 } // namespace chrome
271 272
272 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 273 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698