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

Side by Side Diff: chrome/test/webdriver/session_manager.cc

Issue 5091005: FBTF: Remove unneeded headers from base/ (part 9) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win build 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
« no previous file with comments | « chrome/renderer/net/predictor_queue.h ('k') | chrome_frame/test/ie_event_sink.h » ('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) 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 "chrome/test/webdriver/session_manager.h" 5 #include "chrome/test/webdriver/session_manager.h"
6 6
7 #ifdef OS_POSIX 7 #ifdef OS_POSIX
8 #include <netdb.h> 8 #include <netdb.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 #include <arpa/inet.h> 10 #include <arpa/inet.h>
11 #include <net/if.h> 11 #include <net/if.h>
12 #include <sys/ioctl.h> 12 #include <sys/ioctl.h>
13 #include <sys/socket.h> 13 #include <sys/socket.h>
14 #include <sys/types.h> 14 #include <sys/types.h>
15 #elif OS_WIN 15 #elif OS_WIN
16 #include <Shellapi.h> 16 #include <Shellapi.h>
17 #include <Winsock2.h> 17 #include <Winsock2.h>
18 #endif 18 #endif
19 19
20 #include "base/command_line.h" 20 #include "base/command_line.h"
21 #include "base/lock.h"
22 #include "base/logging.h" 21 #include "base/logging.h"
23 #include "base/process.h" 22 #include "base/process.h"
24 #include "base/process_util.h" 23 #include "base/process_util.h"
25 #include "base/ref_counted.h" 24 #include "base/ref_counted.h"
26 #include "base/scoped_ptr.h" 25 #include "base/scoped_ptr.h"
27 #include "base/test/test_timeouts.h" 26 #include "base/test/test_timeouts.h"
28 27
29 #include "chrome/common/chrome_constants.h" 28 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_switches.h" 29 #include "chrome/common/chrome_switches.h"
31 30
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 std::map<std::string, Session*>::const_iterator it; 177 std::map<std::string, Session*>::const_iterator it;
179 it = map_.find(id); 178 it = map_.find(id);
180 if (it == map_.end()) { 179 if (it == map_.end()) {
181 VLOG(1) << "No such session with ID " << id; 180 VLOG(1) << "No such session with ID " << id;
182 return NULL; 181 return NULL;
183 } 182 }
184 return it->second; 183 return it->second;
185 } 184 }
186 185
187 } // namespace webdriver 186 } // namespace webdriver
OLDNEW
« no previous file with comments | « chrome/renderer/net/predictor_queue.h ('k') | chrome_frame/test/ie_event_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698