chrome: Support client-created request contexts (see issue #2969)

RequestContextTest and URLRequestTest suites now pass with the Chrome runtime
enabled.
This commit is contained in:
Marshall Greenblatt
2021-04-06 18:09:45 -04:00
parent 1cddbeb12f
commit 09fa22898d
23 changed files with 279 additions and 74 deletions

View File

@@ -25,7 +25,6 @@ class CefTestSuite {
int Run();
void GetSettings(CefSettings& settings) const;
bool GetCachePath(std::string& path) const;
// Register a temp directory that should be deleted on shutdown.
void RegisterTempDirectory(const CefString& directory);
@@ -34,6 +33,7 @@ class CefTestSuite {
void DeleteTempDirectories();
CefRefPtr<CefCommandLine> command_line() const { return command_line_; }
CefString root_cache_path() const { return root_cache_path_; }
// The return value from Run().
int retval() const { return retval_; }
@@ -50,6 +50,8 @@ class CefTestSuite {
std::vector<CefString> temp_directories_;
base::Lock temp_directories_lock_;
CefString root_cache_path_;
int retval_;
};