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

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

Issue 1985093002: ppapi: PPB_VpnProvider: Implement permission check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 std::string GetDefaultDownloadName() override; 221 std::string GetDefaultDownloadName() override;
222 base::FilePath GetShaderDiskCacheDirectory() override; 222 base::FilePath GetShaderDiskCacheDirectory() override;
223 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 223 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
224 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 224 content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
225 int plugin_process_id) override; 225 int plugin_process_id) override;
226 bool AllowPepperSocketAPI( 226 bool AllowPepperSocketAPI(
227 content::BrowserContext* browser_context, 227 content::BrowserContext* browser_context,
228 const GURL& url, 228 const GURL& url,
229 bool private_api, 229 bool private_api,
230 const content::SocketPermissionRequest* params) override; 230 const content::SocketPermissionRequest* params) override;
231 bool AllowPepperVpnProviderAPI(content::BrowserContext* browser_context,
sky 2016/05/17 19:08:37 Similar comment on naming here.
adrian.belgun 2016/05/17 20:13:31 Done.
232 const GURL& url) override;
231 ui::SelectFilePolicy* CreateSelectFilePolicy( 233 ui::SelectFilePolicy* CreateSelectFilePolicy(
232 content::WebContents* web_contents) override; 234 content::WebContents* web_contents) override;
233 void GetAdditionalAllowedSchemesForFileSystem( 235 void GetAdditionalAllowedSchemesForFileSystem(
234 std::vector<std::string>* additional_schemes) override; 236 std::vector<std::string>* additional_schemes) override;
235 void GetURLRequestAutoMountHandlers( 237 void GetURLRequestAutoMountHandlers(
236 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; 238 std::vector<storage::URLRequestAutoMountHandler>* handlers) override;
237 void GetAdditionalFileSystemBackends( 239 void GetAdditionalFileSystemBackends(
238 content::BrowserContext* browser_context, 240 content::BrowserContext* browser_context,
239 const base::FilePath& storage_partition_path, 241 const base::FilePath& storage_partition_path,
240 ScopedVector<storage::FileSystemBackend>* additional_backends) override; 242 ScopedVector<storage::FileSystemBackend>* additional_backends) override;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // Vector of additional ChromeContentBrowserClientParts. 339 // Vector of additional ChromeContentBrowserClientParts.
338 // Parts are deleted in the reverse order they are added. 340 // Parts are deleted in the reverse order they are added.
339 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 341 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
340 342
341 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 343 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
342 344
343 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 345 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
344 }; 346 };
345 347
346 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 348 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698