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

Side by Side Diff: chrome/test/webdriver/automation.h

Issue 7637017: Revert 96562 - Disable pyauto tests on mac that requires py2.6. Fix 2 failing chromedriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | chrome/test/webdriver/automation.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBDRIVER_AUTOMATION_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_AUTOMATION_H_
6 #define CHROME_TEST_WEBDRIVER_AUTOMATION_H_ 6 #define CHROME_TEST_WEBDRIVER_AUTOMATION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 // Creates and controls the Chrome instance. 38 // Creates and controls the Chrome instance.
39 // This class should be created and accessed on a single thread. 39 // This class should be created and accessed on a single thread.
40 // Note: All member functions are void because they are invoked 40 // Note: All member functions are void because they are invoked
41 // by posting a task from NewRunnableMethod. 41 // by posting a task from NewRunnableMethod.
42 class Automation { 42 class Automation {
43 public: 43 public:
44 struct BrowserOptions { 44 struct BrowserOptions {
45 BrowserOptions(); 45 BrowserOptions();
46 ~BrowserOptions(); 46 ~BrowserOptions();
47 47
48 CommandLine command; 48 CommandLine cmdline;
49 FilePath user_data_dir; 49 FilePath user_data_dir;
50 std::string channel_id; 50 std::string channel_id;
51 }; 51 };
52 52
53 Automation(); 53 Automation();
54 virtual ~Automation(); 54 virtual ~Automation();
55 55
56 // Start the system's default Chrome binary. 56 // Start the system's default Chrome binary.
57 void Init(const BrowserOptions& options, Error** error); 57 void Init(const BrowserOptions& options, Error** error);
58 58
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 scoped_ptr<ProxyLauncher> launcher_; 169 scoped_ptr<ProxyLauncher> launcher_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(Automation); 171 DISALLOW_COPY_AND_ASSIGN(Automation);
172 }; 172 };
173 173
174 } // namespace webdriver 174 } // namespace webdriver
175 175
176 DISABLE_RUNNABLE_METHOD_REFCOUNT(webdriver::Automation); 176 DISABLE_RUNNABLE_METHOD_REFCOUNT(webdriver::Automation);
177 177
178 #endif // CHROME_TEST_WEBDRIVER_AUTOMATION_H_ 178 #endif // CHROME_TEST_WEBDRIVER_AUTOMATION_H_
OLDNEW
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | chrome/test/webdriver/automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698