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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 12088099: Moving chrome://tracing to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/content_resources.grd ('k') | content/public/browser/content_browser_client.cc » ('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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class CookieOptions; 42 class CookieOptions;
43 class HttpNetworkSession; 43 class HttpNetworkSession;
44 class NetLog; 44 class NetLog;
45 class SSLCertRequestInfo; 45 class SSLCertRequestInfo;
46 class SSLInfo; 46 class SSLInfo;
47 class URLRequest; 47 class URLRequest;
48 class URLRequestContext; 48 class URLRequestContext;
49 class X509Certificate; 49 class X509Certificate;
50 } 50 }
51 51
52 namespace ui {
53 class SelectFilePolicy;
54 }
55
52 namespace content { 56 namespace content {
53 57
54 class AccessTokenStore; 58 class AccessTokenStore;
55 class BrowserChildProcessHost; 59 class BrowserChildProcessHost;
56 class BrowserContext; 60 class BrowserContext;
57 class BrowserMainParts; 61 class BrowserMainParts;
58 class BrowserPpapiHost; 62 class BrowserPpapiHost;
59 class BrowserURLHandler; 63 class BrowserURLHandler;
60 class MediaObserver; 64 class MediaObserver;
61 class QuotaPermissionContext; 65 class QuotaPermissionContext;
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 441
438 // Returns true if renderer processes can use Pepper TCP/UDP sockets from 442 // Returns true if renderer processes can use Pepper TCP/UDP sockets from
439 // the given origin and connection type. 443 // the given origin and connection type.
440 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context, 444 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context,
441 const GURL& url, 445 const GURL& url,
442 const SocketPermissionRequest& params); 446 const SocketPermissionRequest& params);
443 447
444 // Returns the directory containing hyphenation dictionaries. 448 // Returns the directory containing hyphenation dictionaries.
445 virtual FilePath GetHyphenDictionaryDirectory(); 449 virtual FilePath GetHyphenDictionaryDirectory();
446 450
451 // Returns an implementation of a file selecition policy. Can return NULL.
452 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
453 WebContents* web_contents);
454
447 #if defined(OS_POSIX) && !defined(OS_MACOSX) 455 #if defined(OS_POSIX) && !defined(OS_MACOSX)
448 // Populates |mappings| with all files that need to be mapped before launching 456 // Populates |mappings| with all files that need to be mapped before launching
449 // a child process. 457 // a child process.
450 virtual void GetAdditionalMappedFilesForChildProcess( 458 virtual void GetAdditionalMappedFilesForChildProcess(
451 const CommandLine& command_line, 459 const CommandLine& command_line,
452 int child_process_id, 460 int child_process_id,
453 std::vector<FileDescriptorInfo>* mappings) {} 461 std::vector<FileDescriptorInfo>* mappings) {}
454 #endif 462 #endif
455 463
456 #if defined(OS_WIN) 464 #if defined(OS_WIN)
457 // Returns the name of the dll that contains cursors and other resources. 465 // Returns the name of the dll that contains cursors and other resources.
458 virtual const wchar_t* GetResourceDllName(); 466 virtual const wchar_t* GetResourceDllName();
459 #endif 467 #endif
460 468
461 #if defined(USE_NSS) 469 #if defined(USE_NSS)
462 // Return a delegate to authenticate and unlock |module|. 470 // Return a delegate to authenticate and unlock |module|.
463 // This is called on a worker thread. 471 // This is called on a worker thread.
464 virtual 472 virtual
465 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 473 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
466 const GURL& url); 474 const GURL& url);
467 #endif 475 #endif
468 }; 476 };
469 477
470 } // namespace content 478 } // namespace content
471 479
472 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 480 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_resources.grd ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698