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

Side by Side Diff: views/examples/example_base.cc

Issue 3835002: base: Remove 'using' declaration of StringAppendV. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 2 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 unified diff | Download patch
« no previous file with comments | « skia/ext/google_logging.cc ('k') | webkit/tools/pepper_test_plugin/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "views/examples/example_base.h" 5 #include "views/examples/example_base.h"
6 6
7 #include <stdarg.h> 7 #include <stdarg.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ExampleBase::ExampleBase(ExamplesMain* main) 71 ExampleBase::ExampleBase(ExamplesMain* main)
72 : main_(main) { 72 : main_(main) {
73 container_ = new ContainerView(this); 73 container_ = new ContainerView(this);
74 } 74 }
75 75
76 // Prints a message in the status area, at the bottom of the window. 76 // Prints a message in the status area, at the bottom of the window.
77 void ExampleBase::PrintStatus(const wchar_t* format, ...) { 77 void ExampleBase::PrintStatus(const wchar_t* format, ...) {
78 va_list ap; 78 va_list ap;
79 va_start(ap, format); 79 va_start(ap, format);
80 std::wstring msg; 80 std::wstring msg;
81 StringAppendV(&msg, format, ap); 81 base::StringAppendV(&msg, format, ap);
82 main_->SetStatus(msg); 82 main_->SetStatus(msg);
83 } 83 }
84 84
85 } // namespace examples 85 } // namespace examples
OLDNEW
« no previous file with comments | « skia/ext/google_logging.cc ('k') | webkit/tools/pepper_test_plugin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698