2013-09-03 18:43:31 +02:00
|
|
|
// 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.
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_BROWSER_CONTEXT_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_BROWSER_CONTEXT_H_
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "content/public/browser/browser_context.h"
|
2013-03-12 21:23:24 +01:00
|
|
|
#include "content/public/browser/content_browser_client.h"
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
class CefBrowserContext : public content::BrowserContext {
|
|
|
|
public:
|
2013-09-03 18:43:31 +02:00
|
|
|
virtual net::URLRequestContextGetter* CreateRequestContext(
|
|
|
|
content::ProtocolHandlerMap* protocol_handlers) = 0;
|
|
|
|
virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
|
2013-02-27 18:56:03 +01:00
|
|
|
const base::FilePath& partition_path,
|
2013-02-23 01:43:28 +01:00
|
|
|
bool in_memory,
|
2013-09-03 18:43:31 +02:00
|
|
|
content::ProtocolHandlerMap* protocol_handlers) = 0;
|
2012-04-03 03:34:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_BROWSER_CONTEXT_H_
|