summaryrefslogtreecommitdiffstats
path: root/net/base/net_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/net_module.h')
-rw-r--r--net/base/net_module.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/base/net_module.h b/net/base/net_module.h
index e527b9f..ef309ff 100644
--- a/net/base/net_module.h
+++ b/net/base/net_module.h
@@ -8,7 +8,6 @@
#include <string>
#include "base/basictypes.h"
-#include "base/string_piece.h"
namespace net {
@@ -21,7 +20,7 @@ namespace net {
//
class NetModule {
public:
- typedef StringPiece (*ResourceProvider)(int key);
+ typedef std::string (*ResourceProvider)(int key);
// Set the function to call when the net module needs resources
static void SetResourceProvider(ResourceProvider func);
@@ -29,7 +28,7 @@ class NetModule {
// Call the resource provider (if one exists) to get the specified resource.
// Returns an empty string if the resource does not exist or if there is no
// resource provider.
- static StringPiece GetResource(int key);
+ static std::string GetResource(int key);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(NetModule);