summaryrefslogtreecommitdiffstats
path: root/chromeos/network/network_util.cc
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 22:33:04 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 22:33:04 +0000
commit7d3cbc90c089bb3ba5cb81a5abdc0846d5826def (patch)
tree8ad0db2d4581c8e935ed1b07c6b4147a5350a204 /chromeos/network/network_util.cc
parentbb192b87059a76b89fbc20ad08347c28656e838d (diff)
downloadchromium_src-7d3cbc90c089bb3ba5cb81a5abdc0846d5826def.zip
chromium_src-7d3cbc90c089bb3ba5cb81a5abdc0846d5826def.tar.gz
chromium_src-7d3cbc90c089bb3ba5cb81a5abdc0846d5826def.tar.bz2
[Cleanup] Remove StringPrintf from global namespace
use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/network_util.cc')
-rw-r--r--chromeos/network/network_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc
index c0497ad6..fa74068 100644
--- a/chromeos/network/network_util.cc
+++ b/chromeos/network/network_util.cc
@@ -43,7 +43,7 @@ std::string PrefixLengthToNetmask(int32 prefix_length) {
netmask += ".";
int value = remainder == 0 ? 0 :
((2L << (remainder - 1)) - 1) << (8 - remainder);
- netmask += StringPrintf("%d", value);
+ netmask += base::StringPrintf("%d", value);
}
return netmask;
}