| 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 #ifndef CHROME_TEST_CHROMEDRIVER_SESSION_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_SESSION_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_SESSION_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_SESSION_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
| 15 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 16 #include "chrome/test/chromedriver/basic_types.h" | 15 #include "chrome/test/chromedriver/basic_types.h" |
| 17 #include "chrome/test/chromedriver/chrome/device_metrics.h" | 16 #include "chrome/test/chromedriver/chrome/device_metrics.h" |
| 18 #include "chrome/test/chromedriver/chrome/geoposition.h" | 17 #include "chrome/test/chromedriver/chrome/geoposition.h" |
| 19 #include "chrome/test/chromedriver/chrome/network_conditions.h" | 18 #include "chrome/test/chromedriver/chrome/network_conditions.h" |
| 20 #include "chrome/test/chromedriver/command_listener.h" | 19 #include "chrome/test/chromedriver/command_listener.h" |
| 21 | 20 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // |CommandListener|s might be |CommandListenerProxy|s that forward to | 84 // |CommandListener|s might be |CommandListenerProxy|s that forward to |
| 86 // |DevToolsEventListener|s owned by |chrome|. | 85 // |DevToolsEventListener|s owned by |chrome|. |
| 87 ScopedVector<CommandListener> command_listeners; | 86 ScopedVector<CommandListener> command_listeners; |
| 88 }; | 87 }; |
| 89 | 88 |
| 90 Session* GetThreadLocalSession(); | 89 Session* GetThreadLocalSession(); |
| 91 | 90 |
| 92 void SetThreadLocalSession(scoped_ptr<Session> session); | 91 void SetThreadLocalSession(scoped_ptr<Session> session); |
| 93 | 92 |
| 94 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_H_ | 93 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_H_ |
| OLD | NEW |