OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/chromedriver/commands.h" | 5 #include "chrome/test/chromedriver/commands.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <list> | 10 #include <list> |
9 #include <utility> | 11 #include <utility> |
10 | 12 |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
13 #include "base/location.h" | 15 #include "base/location.h" |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
15 #include "base/memory/linked_ptr.h" | 17 #include "base/memory/linked_ptr.h" |
16 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 } | 315 } |
314 } | 316 } |
315 | 317 |
316 namespace internal { | 318 namespace internal { |
317 | 319 |
318 void CreateSessionOnSessionThreadForTesting(const std::string& id) { | 320 void CreateSessionOnSessionThreadForTesting(const std::string& id) { |
319 SetThreadLocalSession(make_scoped_ptr(new Session(id))); | 321 SetThreadLocalSession(make_scoped_ptr(new Session(id))); |
320 } | 322 } |
321 | 323 |
322 } // namespace internal | 324 } // namespace internal |
OLD | NEW |