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

Side by Side Diff: views/debug_utils.cc

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/debug_utils.h" 5 #include "views/debug_utils.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "views/view.h" 9 #include "views/view.h"
10 10
11 #ifndef NDEBUG 11 #ifndef NDEBUG
12 #include <iostream> 12 #include <ostream>
13 #endif 13 #endif
14 14
15 namespace views { 15 namespace views {
16 16
17 #ifndef NDEBUG 17 #ifndef NDEBUG
18 18
19 namespace { 19 namespace {
20 void PrintViewHierarchyImp(const View* view, int indent) { 20 void PrintViewHierarchyImp(const View* view, int indent) {
21 std::wostringstream buf; 21 std::wostringstream buf;
22 int ind = indent; 22 int ind = indent;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 PrintViewHierarchyImp(view, 0); 67 PrintViewHierarchyImp(view, 0);
68 } 68 }
69 69
70 void PrintFocusHierarchy(const View* view) { 70 void PrintFocusHierarchy(const View* view) {
71 PrintFocusHierarchyImp(view, 0); 71 PrintFocusHierarchyImp(view, 0);
72 } 72 }
73 73
74 } // namespace views 74 } // namespace views
75 75
76 #endif // NDEBUG 76 #endif // NDEBUG
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698