OLD | NEW |
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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 const GURL& site_url) OVERRIDE; | 247 const GURL& site_url) OVERRIDE; |
248 virtual bool AllowPepperSocketAPI( | 248 virtual bool AllowPepperSocketAPI( |
249 content::BrowserContext* browser_context, | 249 content::BrowserContext* browser_context, |
250 const GURL& url, | 250 const GURL& url, |
251 bool private_api, | 251 bool private_api, |
252 const content::SocketPermissionRequest* params) OVERRIDE; | 252 const content::SocketPermissionRequest* params) OVERRIDE; |
253 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | 253 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( |
254 content::WebContents* web_contents) OVERRIDE; | 254 content::WebContents* web_contents) OVERRIDE; |
255 virtual void GetAdditionalAllowedSchemesForFileSystem( | 255 virtual void GetAdditionalAllowedSchemesForFileSystem( |
256 std::vector<std::string>* additional_schemes) OVERRIDE; | 256 std::vector<std::string>* additional_schemes) OVERRIDE; |
257 virtual void GetURLRequestAutoMountHandlers( | |
258 std::vector<fileapi::URLRequestAutoMountHandler>* handlers) OVERRIDE; | |
259 virtual void GetAdditionalFileSystemBackends( | 257 virtual void GetAdditionalFileSystemBackends( |
260 content::BrowserContext* browser_context, | 258 content::BrowserContext* browser_context, |
261 const base::FilePath& storage_partition_path, | 259 const base::FilePath& storage_partition_path, |
262 ScopedVector<fileapi::FileSystemBackend>* additional_backends) OVERRIDE; | 260 ScopedVector<fileapi::FileSystemBackend>* additional_backends) OVERRIDE; |
263 | 261 |
264 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 262 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
265 virtual void GetAdditionalMappedFilesForChildProcess( | 263 virtual void GetAdditionalMappedFilesForChildProcess( |
266 const CommandLine& command_line, | 264 const CommandLine& command_line, |
267 int child_process_id, | 265 int child_process_id, |
268 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 266 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
(...skipping 29 matching lines...) Expand all Loading... |
298 permissions_policy_delegate_; | 296 permissions_policy_delegate_; |
299 | 297 |
300 friend class DisableWebRtcEncryptionFlagTest; | 298 friend class DisableWebRtcEncryptionFlagTest; |
301 | 299 |
302 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 300 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
303 }; | 301 }; |
304 | 302 |
305 } // namespace chrome | 303 } // namespace chrome |
306 | 304 |
307 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 305 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |