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

Side by Side Diff: chrome/test/ui/ui_test.h

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix telemetry tests with reference builds. Created 7 years, 6 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
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_UI_UI_TEST_H_ 5 #ifndef CHROME_TEST_UI_UI_TEST_H_
6 #define CHROME_TEST_UI_UI_TEST_H_ 6 #define CHROME_TEST_UI_UI_TEST_H_
7 7
8 // This file provides a common base for running UI unit tests, which operate 8 // This file provides a common base for running UI unit tests, which operate
9 // the entire browser application in a separate process for holistic 9 // the entire browser application in a separate process for holistic
10 // functional testing. 10 // functional testing.
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 292
293 // Name of currently running automated test passed to Chrome process. 293 // Name of currently running automated test passed to Chrome process.
294 std::string test_name_; 294 std::string test_name_;
295 295
296 // Wait for initial loads to complete in SetUp() before running test body. 296 // Wait for initial loads to complete in SetUp() before running test body.
297 bool wait_for_initial_loads_; 297 bool wait_for_initial_loads_;
298 298
299 // This can be set to true to have the test run the dom automation case. 299 // This can be set to true to have the test run the dom automation case.
300 bool dom_automation_enabled_; 300 bool dom_automation_enabled_;
301 301
302 // This can be set to true to enable the stats collection controller JS
303 // bindings.
304 bool stats_collection_controller_enabled_;
305
302 // See set_template_user_data(). 306 // See set_template_user_data().
303 base::FilePath template_user_data_; 307 base::FilePath template_user_data_;
304 308
305 // Determines if the window is shown or hidden. Defaults to hidden. 309 // Determines if the window is shown or hidden. Defaults to hidden.
306 bool show_window_; 310 bool show_window_;
307 311
308 // If true the profile is cleared before launching. Default is true. 312 // If true the profile is cleared before launching. Default is true.
309 bool clear_profile_; 313 bool clear_profile_;
310 314
311 // Should we supply the testing channel id 315 // Should we supply the testing channel id
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 #ifdef UNIT_TEST 420 #ifdef UNIT_TEST
417 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr); 421 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr);
418 422
419 template<typename T> 423 template<typename T>
420 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) { 424 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) {
421 return out << ptr.get(); 425 return out << ptr.get();
422 } 426 }
423 #endif // UNIT_TEST 427 #endif // UNIT_TEST
424 428
425 #endif // CHROME_TEST_UI_UI_TEST_H_ 429 #endif // CHROME_TEST_UI_UI_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698