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

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

Issue 2055433002: Revert of service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 589
590 // Returns an implementation of a file selecition policy. Can return nullptr. 590 // Returns an implementation of a file selecition policy. Can return nullptr.
591 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 591 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
592 WebContents* web_contents); 592 WebContents* web_contents);
593 593
594 // Returns additional allowed scheme set which can access files in 594 // Returns additional allowed scheme set which can access files in
595 // FileSystem API. 595 // FileSystem API.
596 virtual void GetAdditionalAllowedSchemesForFileSystem( 596 virtual void GetAdditionalAllowedSchemesForFileSystem(
597 std::vector<std::string>* additional_schemes) {} 597 std::vector<std::string>* additional_schemes) {}
598 598
599 // |schemes| is a return value parameter that gets a whitelist of schemes that
600 // should bypass the Is Privileged Context check.
601 // See http://www.w3.org/TR/powerful-features/#settings-privileged
602 virtual void GetSchemesBypassingSecureContextCheckWhitelist(
603 std::set<std::string>* schemes) {}
604
605 // Returns auto mount handlers for URL requests for FileSystem APIs. 599 // Returns auto mount handlers for URL requests for FileSystem APIs.
606 virtual void GetURLRequestAutoMountHandlers( 600 virtual void GetURLRequestAutoMountHandlers(
607 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} 601 std::vector<storage::URLRequestAutoMountHandler>* handlers) {}
608 602
609 // Returns additional file system backends for FileSystem API. 603 // Returns additional file system backends for FileSystem API.
610 // |browser_context| is needed in the additional FileSystemBackends. 604 // |browser_context| is needed in the additional FileSystemBackends.
611 // It has mount points to create objects returned by additional 605 // It has mount points to create objects returned by additional
612 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 606 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
613 virtual void GetAdditionalFileSystemBackends( 607 virtual void GetAdditionalFileSystemBackends(
614 BrowserContext* browser_context, 608 BrowserContext* browser_context,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
779 // implementation. Return nullptr to disable external surface video. 773 // implementation. Return nullptr to disable external surface video.
780 virtual ExternalVideoSurfaceContainer* 774 virtual ExternalVideoSurfaceContainer*
781 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
782 #endif 776 #endif
783 }; 777 };
784 778
785 } // namespace content 779 } // namespace content
786 780
787 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698