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

Side by Side Diff: remoting/protocol/protocol_test_client.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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if !defined(OS_WIN) 7 #if !defined(OS_WIN)
8 extern "C" { 8 extern "C" {
9 #include <unistd.h> 9 #include <unistd.h>
10 } 10 }
11 #endif // !defined(OS_WIN) 11 #endif // !defined(OS_WIN)
12 12
13 #include <iostream> 13 #include <ostream>
14 #include <list> 14 #include <list>
15 15
16 #include "base/at_exit.h" 16 #include "base/at_exit.h"
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/message_loop_proxy.h" 19 #include "base/message_loop_proxy.h"
20 #include "base/test/mock_chrome_application_mac.h" 20 #include "base/test/mock_chrome_application_mac.h"
21 #include "base/time.h" 21 #include "base/time.h"
22 #include "crypto/nss_util.h" 22 #include "crypto/nss_util.h"
23 #include "net/base/completion_callback.h" 23 #include "net/base/completion_callback.h"
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 std::string auth_service("oauth2"); 359 std::string auth_service("oauth2");
360 if (cmd_line->HasSwitch("auth_service")) 360 if (cmd_line->HasSwitch("auth_service"))
361 auth_service = cmd_line->GetSwitchValueASCII("auth_service"); 361 auth_service = cmd_line->GetSwitchValueASCII("auth_service");
362 362
363 scoped_refptr<ProtocolTestClient> client(new ProtocolTestClient()); 363 scoped_refptr<ProtocolTestClient> client(new ProtocolTestClient());
364 364
365 client->Run(username, auth_token, host_jid, auth_service); 365 client->Run(username, auth_token, host_jid, auth_service);
366 366
367 return 0; 367 return 0;
368 } 368 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698