OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_LOGGING_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_LOGGING_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_LOGGING_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_LOGGING_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/test/chromedriver/chrome/log.h" | 14 #include "chrome/test/chromedriver/chrome/log.h" |
15 | 15 |
16 struct Capabilities; | 16 struct Capabilities; |
17 class CommandListener; | 17 class CommandListener; |
18 class DevToolsEventListener; | 18 class DevToolsEventListener; |
19 class ListValue; | 19 class ListValue; |
20 struct Session; | 20 struct Session; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // Creates |Log|s, |DevToolsEventListener|s, and |CommandListener|s based on | 69 // Creates |Log|s, |DevToolsEventListener|s, and |CommandListener|s based on |
70 // logging preferences. | 70 // logging preferences. |
71 Status CreateLogs(const Capabilities& capabilities, | 71 Status CreateLogs(const Capabilities& capabilities, |
72 const Session* session, | 72 const Session* session, |
73 ScopedVector<WebDriverLog>* out_logs, | 73 ScopedVector<WebDriverLog>* out_logs, |
74 ScopedVector<DevToolsEventListener>* out_devtools_listeners, | 74 ScopedVector<DevToolsEventListener>* out_devtools_listeners, |
75 ScopedVector<CommandListener>* out_command_listeners); | 75 ScopedVector<CommandListener>* out_command_listeners); |
76 | 76 |
77 #endif // CHROME_TEST_CHROMEDRIVER_LOGGING_H_ | 77 #endif // CHROME_TEST_CHROMEDRIVER_LOGGING_H_ |
OLD | NEW |