Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: net/base/net_module.cc

Issue 193072: Move StringPiece into the base namespace. It is colliding (Closed)
Patch Set: take 2 Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/net_module.h ('k') | net/base/net_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_module.cc
diff --git a/net/base/net_module.cc b/net/base/net_module.cc
index de9a5867a5fa8953ddebd089e41ad64e2e4a8b8a..d7f19189b45f2194292eb3f5b7885cd9f064d87a 100644
--- a/net/base/net_module.cc
+++ b/net/base/net_module.cc
@@ -14,8 +14,8 @@ void NetModule::SetResourceProvider(ResourceProvider func) {
}
// static
-StringPiece NetModule::GetResource(int key) {
- return resource_provider ? resource_provider(key) : StringPiece();
+base::StringPiece NetModule::GetResource(int key) {
+ return resource_provider ? resource_provider(key) : base::StringPiece();
}
} // namespace net
« no previous file with comments | « net/base/net_module.h ('k') | net/base/net_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698