summaryrefslogtreecommitdiff
path: root/libcef/common/net/net_resource_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcef/common/net/net_resource_provider.h')
-rw-r--r--libcef/common/net/net_resource_provider.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libcef/common/net/net_resource_provider.h b/libcef/common/net/net_resource_provider.h
new file mode 100644
index 00000000..8f6f6ed4
--- /dev/null
+++ b/libcef/common/net/net_resource_provider.h
@@ -0,0 +1,14 @@
+// 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.
+
+#ifndef CEF_LIBCEF_COMMON_NET_RESOURCE_PROVIDER_H_
+#define CEF_LIBCEF_COMMON_NET_RESOURCE_PROVIDER_H_
+#pragma once
+
+#include "base/memory/ref_counted_memory.h"
+
+// This is called indirectly by the network layer to access resources.
+scoped_refptr<base::RefCountedMemory> NetResourceProvider(int key);
+
+#endif // CEF_LIBCEF_COMMON_NET_RESOURCE_PROVIDER_H_