mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
8aac23386e
- Implement CefRequestHandler::OnBeforeBrowse using NavigationThrottle instead of ResourceThrottle (see http://crbug.com/537634). The CefRequest object passed to OnBeforeBrowse will no longer have an associated request identifier. - Mac: Remove additional helper apps which are no longer required (see http://crbug.com/520680) - Remove the UR_FLAG_REPORT_RAW_HEADERS flag which is no longer supported (see http://crbug.com/517114) - Remove the CefBrowserSettings.java parameter. Java is an NPAPI plugin and NPAPI plugins are no longer supported (see http://crbug.com/470301#c11) - Add CefFormatUrlForSecurityDisplay function in cef_parser.h - Fix crash when passing `--disable-extensions` command-line flag (issue #1721) - Linux: Fix NSS handler loading (issue #1727)
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_
|
|
#define CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_
|
|
|
|
#include "base/memory/singleton.h"
|
|
#include "extensions/browser/extension_system_provider.h"
|
|
|
|
namespace extensions {
|
|
|
|
// Factory that provides CefExtensionSystem.
|
|
class CefExtensionSystemFactory : public ExtensionSystemProvider {
|
|
public:
|
|
// ExtensionSystemProvider implementation:
|
|
ExtensionSystem* GetForBrowserContext(
|
|
content::BrowserContext* context) override;
|
|
|
|
static CefExtensionSystemFactory* GetInstance();
|
|
|
|
private:
|
|
friend struct base::DefaultSingletonTraits<CefExtensionSystemFactory>;
|
|
|
|
CefExtensionSystemFactory();
|
|
~CefExtensionSystemFactory() override;
|
|
|
|
// BrowserContextKeyedServiceFactory implementation:
|
|
KeyedService* BuildServiceInstanceFor(
|
|
content::BrowserContext* context) const override;
|
|
content::BrowserContext* GetBrowserContextToUse(
|
|
content::BrowserContext* context) const override;
|
|
bool ServiceIsCreatedWithBrowserContext() const override;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(CefExtensionSystemFactory);
|
|
};
|
|
|
|
} // namespace extensions
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_
|