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

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

Issue 1003953008: Remove prerender cookie store, part 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prerender-revert-cookie-store-3
Patch Set: Created 5 years, 9 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 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 namespace blink { 50 namespace blink {
51 struct WebWindowFeatures; 51 struct WebWindowFeatures;
52 } 52 }
53 53
54 namespace gfx { 54 namespace gfx {
55 class ImageSkia; 55 class ImageSkia;
56 } 56 }
57 57
58 namespace net { 58 namespace net {
59 class CookieOptions; 59 class CookieOptions;
60 class CookieStore;
61 class NetLog; 60 class NetLog;
62 class SSLCertRequestInfo; 61 class SSLCertRequestInfo;
63 class SSLInfo; 62 class SSLInfo;
64 class URLRequest; 63 class URLRequest;
65 class URLRequestContext; 64 class URLRequestContext;
66 class URLRequestContextGetter; 65 class URLRequestContextGetter;
67 class X509Certificate; 66 class X509Certificate;
68 } 67 }
69 68
70 namespace sandbox { 69 namespace sandbox {
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 // pp::FileIO::RequestOSFileHandle. 579 // pp::FileIO::RequestOSFileHandle.
581 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 580 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
582 BrowserContext* browser_context, 581 BrowserContext* browser_context,
583 const GURL& url); 582 const GURL& url);
584 583
585 // Returns true if dev channel APIs are available for plugins. 584 // Returns true if dev channel APIs are available for plugins.
586 virtual bool IsPluginAllowedToUseDevChannelAPIs( 585 virtual bool IsPluginAllowedToUseDevChannelAPIs(
587 BrowserContext* browser_context, 586 BrowserContext* browser_context,
588 const GURL& url); 587 const GURL& url);
589 588
590 // Returns a special cookie store to use for a given render process, or
591 // nullptr if the default cookie store should be used.
592 // This is called on the IO thread.
593 virtual net::CookieStore* OverrideCookieStoreForRenderProcess(
594 int render_process_id);
mmenke 2015/03/20 14:55:53 Shouldn't this be part of the other CL?
davidben 2015/03/20 17:35:26 Oops! Moved it over to the other CL. (I'll upload
595
596 // Checks if |security_origin| has permission to access the microphone or 589 // Checks if |security_origin| has permission to access the microphone or
597 // camera. Note that this does not query the user. |type| must be 590 // camera. Note that this does not query the user. |type| must be
598 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. 591 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE.
599 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, 592 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context,
600 const GURL& security_origin, 593 const GURL& security_origin,
601 MediaStreamType type); 594 MediaStreamType type);
602 595
603 // Allows to override browser Mojo services exposed through the 596 // Allows to override browser Mojo services exposed through the
604 // RenderProcessHost. 597 // RenderProcessHost.
605 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} 598 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {}
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 647 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
655 // implementation. Return nullptr to disable external surface video. 648 // implementation. Return nullptr to disable external surface video.
656 virtual ExternalVideoSurfaceContainer* 649 virtual ExternalVideoSurfaceContainer*
657 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 650 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
658 #endif 651 #endif
659 }; 652 };
660 653
661 } // namespace content 654 } // namespace content
662 655
663 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/webui/url_data_manager_backend_unittest.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698