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

Side by Side Diff: content/public/common/content_client.h

Issue 2787573003: Remove DumpWithoutCrashing from ShouldAllowOpenURL. (Closed)
Patch Set: Address asvitkine's comments Created 3 years, 8 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | tools/metrics/histograms/histograms.xml » ('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_COMMON_CONTENT_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
6 #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 6 #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Gives the embedder a chance to register the Content Decryption Modules 91 // Gives the embedder a chance to register the Content Decryption Modules
92 // (CDM) it supports, as well as the CDM host file paths to verify CDM host. 92 // (CDM) it supports, as well as the CDM host file paths to verify CDM host.
93 // |cdms| or |cdm_host_file_paths| can be null which means that specific list 93 // |cdms| or |cdm_host_file_paths| can be null which means that specific list
94 // is not needed. 94 // is not needed.
95 virtual void AddContentDecryptionModules( 95 virtual void AddContentDecryptionModules(
96 std::vector<content::CdmInfo>* cdms, 96 std::vector<content::CdmInfo>* cdms,
97 std::vector<content::CdmHostFilePath>* cdm_host_file_paths) {} 97 std::vector<content::CdmHostFilePath>* cdm_host_file_paths) {}
98 98
99 // Gives the embedder a chance to register its own schemes early in the 99 // Gives the embedder a chance to register its own schemes early in the
100 // startup sequence. 100 // startup sequence.
101 struct Schemes { 101 struct CONTENT_EXPORT Schemes {
102 Schemes(); 102 Schemes();
103 ~Schemes(); 103 ~Schemes();
104 std::vector<std::string> standard_schemes; 104 std::vector<std::string> standard_schemes;
105 std::vector<std::string> referrer_schemes; 105 std::vector<std::string> referrer_schemes;
106 std::vector<std::string> savable_schemes; 106 std::vector<std::string> savable_schemes;
107 // Additional schemes that should be allowed to register service workers. 107 // Additional schemes that should be allowed to register service workers.
108 // Only secure and trustworthy schemes should be added. 108 // Only secure and trustworthy schemes should be added.
109 std::vector<std::string> service_worker_schemes; 109 std::vector<std::string> service_worker_schemes;
110 // Registers a URL scheme to be treated as a local scheme (i.e., with the 110 // Registers a URL scheme to be treated as a local scheme (i.e., with the
111 // same security rules as those applied to "file" URLs). This means that 111 // same security rules as those applied to "file" URLs). This means that
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 ContentGpuClient* gpu_; 207 ContentGpuClient* gpu_;
208 // The embedder API for participating in renderer logic. 208 // The embedder API for participating in renderer logic.
209 ContentRendererClient* renderer_; 209 ContentRendererClient* renderer_;
210 // The embedder API for participating in utility logic. 210 // The embedder API for participating in utility logic.
211 ContentUtilityClient* utility_; 211 ContentUtilityClient* utility_;
212 }; 212 };
213 213
214 } // namespace content 214 } // namespace content
215 215
216 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 216 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698