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

Side by Side Diff: chrome/browser/intents/web_intent_data.cc

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed 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
« no previous file with comments | « breakpad/pending/src/common/module.cc ('k') | chrome/tools/ipclist/ipcfuzz.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) 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 "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/browser/intents/web_intent_data.h" 6 #include "chrome/browser/intents/web_intent_data.h"
7 #include <iostream> 7 #include <ostream>
8 8
9 WebIntentData::WebIntentData() {} 9 WebIntentData::WebIntentData() {}
10 10
11 WebIntentData::~WebIntentData() {} 11 WebIntentData::~WebIntentData() {}
12 12
13 bool WebIntentData::operator==(const WebIntentData& other) const { 13 bool WebIntentData::operator==(const WebIntentData& other) const {
14 return (service_url == other.service_url && 14 return (service_url == other.service_url &&
15 action == other.action && 15 action == other.action &&
16 type == other.type && 16 type == other.type &&
17 title == other.title); 17 title == other.title);
18 } 18 }
19 19
20 std::ostream& operator<<(::std::ostream& os, 20 std::ostream& operator<<(::std::ostream& os,
21 const WebIntentData& intent) { 21 const WebIntentData& intent) {
22 return os << 22 return os <<
23 "{" << intent.service_url << 23 "{" << intent.service_url <<
24 ", " << UTF16ToUTF8(intent.action) << 24 ", " << UTF16ToUTF8(intent.action) <<
25 ", " << UTF16ToUTF8(intent.type) << 25 ", " << UTF16ToUTF8(intent.type) <<
26 ", " << UTF16ToUTF8(intent.title) << 26 ", " << UTF16ToUTF8(intent.title) <<
27 "}"; 27 "}";
28 } 28 }
OLDNEW
« no previous file with comments | « breakpad/pending/src/common/module.cc ('k') | chrome/tools/ipclist/ipcfuzz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698