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

Unified Diff: cloud_print/gcp20/prototype/printer.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: cloud_print/gcp20/prototype/printer.cc
diff --git a/cloud_print/gcp20/prototype/printer.cc b/cloud_print/gcp20/prototype/printer.cc
index cafb446fb31b8304161624bed966ecaf988b3476..dc9d04245d3058a356f959ff1ee9b943a54c7027 100644
--- a/cloud_print/gcp20/prototype/printer.cc
+++ b/cloud_print/gcp20/prototype/printer.cc
@@ -413,7 +413,7 @@ bool Printer::CheckXPrivetTokenHeader(const std::string& token) const {
const base::DictionaryValue& Printer::GetCapabilities() {
if (!state_.cdd.get()) {
std::string cdd_string;
- ReplaceChars(kCdd, "'", "\"", &cdd_string);
+ base::ReplaceChars(kCdd, "'", "\"", &cdd_string);
scoped_ptr<base::Value> json_val(base::JSONReader::Read(cdd_string));
base::DictionaryValue* json = NULL;
CHECK(json_val->GetAsDictionary(&json));

Powered by Google App Engine
This is Rietveld 408576698