mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 18:49:52 +01:00
a23e845244
This change removes cookie and request handler functionality that will not supported by the NetworkService. Specifically, it is no longer possible to change cookie storage locations at runime by returning a different CefCookieManager for an already initialized CefRequestContext. After this change you will need to use a separate CefRequestContext when creating a CefBrowser if you require separate cookie storage. The following methods have been removed: - CefCookieManager::CreateManager - CefCookieManager::GetBlockingManager - CefCookieManager::SetStoragePath - CefRequestContextHandler::GetCookieManager The following methods have been renamed: - CefRequestContext::GetDefaultCookieManager to GetCookieManager. This change substantially simplifies the network implementation in CEF because it is no longer necessary to proxy objects that are normally owned by Chromium. Chromium patches that are no longer necessary will be removed as a follow-up commit. To test: Verify that `ceftests --gtest_filter=-PluginTest.*` pass with NetworkService disabled. Plugin tests will be fixed in a follow-up commit.
45 lines
1.5 KiB
C++
45 lines
1.5 KiB
C++
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
// can be found in the LICENSE file.
|
|
|
|
// Defines all of the command line switches used by cefclient.
|
|
|
|
#ifndef CEF_TESTS_SHARED_SHARED_COMMON_SWITCHES_H_
|
|
#define CEF_TESTS_SHARED_SHARED_COMMON_SWITCHES_H_
|
|
#pragma once
|
|
|
|
namespace client {
|
|
namespace switches {
|
|
|
|
extern const char kMultiThreadedMessageLoop[];
|
|
extern const char kExternalMessagePump[];
|
|
extern const char kCachePath[];
|
|
extern const char kUrl[];
|
|
extern const char kOffScreenRenderingEnabled[];
|
|
extern const char kOffScreenFrameRate[];
|
|
extern const char kTransparentPaintingEnabled[];
|
|
extern const char kShowUpdateRect[];
|
|
extern const char kSharedTextureEnabled[];
|
|
extern const char kExternalBeginFrameEnabled[];
|
|
extern const char kMouseCursorChangeDisabled[];
|
|
extern const char kRequestContextPerBrowser[];
|
|
extern const char kRequestContextSharedCache[];
|
|
extern const char kBackgroundColor[];
|
|
extern const char kEnableGPU[];
|
|
extern const char kFilterURL[];
|
|
extern const char kUseViews[];
|
|
extern const char kHideFrame[];
|
|
extern const char kHideControls[];
|
|
extern const char kAlwaysOnTop[];
|
|
extern const char kHideTopMenu[];
|
|
extern const char kWidevineCdmPath[];
|
|
extern const char kSslClientCertificate[];
|
|
extern const char kCRLSetsPath[];
|
|
extern const char kLoadExtension[];
|
|
extern const char kNoActivate[];
|
|
|
|
} // namespace switches
|
|
} // namespace client
|
|
|
|
#endif // CEF_TESTS_SHARED_SHARED_COMMON_SWITCHES_H_
|