mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
936e595fe5
- Persist modified user preferences including per-host zoom settings when a cache_path value is specified and persist_user_preferences is set to true via CefSettings or CefRequestContextSettings. - Avoid the need to duplicate files from chrome/ by having CefBrowserContext extend Chrome's Profile class.
23 lines
732 B
C++
23 lines
732 B
C++
// Copyright 2015 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.
|
|
|
|
#include "libcef/browser/extensions/browser_context_keyed_service_factories.h"
|
|
|
|
#include "libcef/browser/extensions/api/streams_private/streams_private_api.h"
|
|
|
|
#include "chrome/browser/ui/prefs/prefs_tab_helper.h"
|
|
#include "extensions/browser/renderer_startup_helper.h"
|
|
|
|
namespace extensions {
|
|
namespace cef {
|
|
|
|
void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
|
|
PrefsTabHelper::GetServiceInstance();
|
|
RendererStartupHelperFactory::GetInstance();
|
|
StreamsPrivateAPI::GetFactoryInstance();
|
|
}
|
|
|
|
} // namespace cef
|
|
} // namespace extensions
|