summaryrefslogtreecommitdiffstats
path: root/chrome/common/net/net_resource_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/net/net_resource_provider.h')
-rw-r--r--chrome/common/net/net_resource_provider.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/common/net/net_resource_provider.h b/chrome/common/net/net_resource_provider.h
new file mode 100644
index 0000000..4965adf
--- /dev/null
+++ b/chrome/common/net/net_resource_provider.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2009 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 CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_
+#define CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_
+
+namespace base {
+class StringPiece;
+}
+
+namespace chrome_common_net {
+
+// This is called indirectly by the network layer to access resources.
+base::StringPiece NetResourceProvider(int key);
+
+} // namespace chrome_common_net
+
+#endif // CHROME_COMMON_NET_NET_RESOURCE_PROVIDER_H_