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

Side by Side Diff: webkit/blob/view_blob_internals_job.cc

Issue 4974001: base: Get rid of 'using' declaration of StringAppendF. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/blob/view_blob_internals_job.h" 5 #include "webkit/blob/view_blob_internals_job.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/i18n/number_formatting.h" 9 #include "base/i18n/number_formatting.h"
10 #include "base/i18n/time_formatting.h" 10 #include "base/i18n/time_formatting.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 std::string* out) { 81 std::string* out) {
82 out->append("<li>"); 82 out->append("<li>");
83 out->append(element_title); 83 out->append(element_title);
84 out->append(element_data); 84 out->append(element_data);
85 out->append("</li>"); 85 out->append("</li>");
86 } 86 }
87 87
88 void AddHTMLButton(const std::string& title, 88 void AddHTMLButton(const std::string& title,
89 const std::string& command, 89 const std::string& command,
90 std::string* out) { 90 std::string* out) {
91 StringAppendF(out, 91 base::StringAppendF(out,
92 "<input type=\"button\" value=\"%s\" " 92 "<input type=\"button\" value=\"%s\" "
93 "onclick=\"SubmitCommand('%s')\" />", 93 "onclick=\"SubmitCommand('%s')\" />",
94 title.c_str(), 94 title.c_str(),
95 command.c_str()); 95 command.c_str());
96 } 96 }
97 97
98 } // namespace 98 } // namespace
99 99
100 namespace webkit_blob { 100 namespace webkit_blob {
101 101
102 ViewBlobInternalsJob::ViewBlobInternalsJob( 102 ViewBlobInternalsJob::ViewBlobInternalsJob(
103 URLRequest* request, BlobStorageController* blob_storage_controller) 103 URLRequest* request, BlobStorageController* blob_storage_controller)
104 : URLRequestSimpleJob(request), 104 : URLRequestSimpleJob(request),
105 blob_storage_controller_(blob_storage_controller) { 105 blob_storage_controller_(blob_storage_controller) {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 } 222 }
223 223
224 if (has_multi_items) 224 if (has_multi_items)
225 EndHTMLList(out); 225 EndHTMLList(out);
226 } 226 }
227 227
228 EndHTMLList(out); 228 EndHTMLList(out);
229 } 229 }
230 230
231 } // namespace webkit_blob 231 } // namespace webkit_blob
OLDNEW
« no previous file with comments | « webkit/appcache/view_appcache_internals_job.cc ('k') | webkit/glue/plugins/plugin_list_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698