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

Side by Side Diff: chrome/test/chromedriver/session.h

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased code with w3c flag change. Created 4 years, 4 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
OLDNEW
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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
13 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "chrome/test/chromedriver/basic_types.h" 15 #include "chrome/test/chromedriver/basic_types.h"
16 #include "chrome/test/chromedriver/chrome/device_metrics.h" 16 #include "chrome/test/chromedriver/chrome/device_metrics.h"
17 #include "chrome/test/chromedriver/chrome/geoposition.h" 17 #include "chrome/test/chromedriver/chrome/geoposition.h"
18 #include "chrome/test/chromedriver/chrome/network_conditions.h" 18 #include "chrome/test/chromedriver/chrome/network_conditions.h"
19 #include "chrome/test/chromedriver/chrome/web_view_impl.h"
samuong 2016/08/11 18:13:20 is this necessary?
roisinmcl 2016/08/13 01:47:26 This is unnecessary, I forgot to remove this.
19 #include "chrome/test/chromedriver/command_listener.h" 20 #include "chrome/test/chromedriver/command_listener.h"
20 21
21 namespace base { 22 namespace base {
22 class DictionaryValue; 23 class DictionaryValue;
23 } 24 }
24 25
25 class Chrome; 26 class Chrome;
26 class Status; 27 class Status;
27 class WebDriverLog; 28 class WebDriverLog;
28 class WebView; 29 class WebView;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // |CommandListener|s might be |CommandListenerProxy|s that forward to 86 // |CommandListener|s might be |CommandListenerProxy|s that forward to
86 // |DevToolsEventListener|s owned by |chrome|. 87 // |DevToolsEventListener|s owned by |chrome|.
87 ScopedVector<CommandListener> command_listeners; 88 ScopedVector<CommandListener> command_listeners;
88 }; 89 };
89 90
90 Session* GetThreadLocalSession(); 91 Session* GetThreadLocalSession();
91 92
92 void SetThreadLocalSession(std::unique_ptr<Session> session); 93 void SetThreadLocalSession(std::unique_ptr<Session> session);
93 94
94 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_H_ 95 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698