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

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: formatting/compile fix Created 7 years, 8 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 302
303 // Name of currently running automated test passed to Chrome process. 303 // Name of currently running automated test passed to Chrome process.
304 std::string test_name_; 304 std::string test_name_;
305 305
306 // Wait for initial loads to complete in SetUp() before running test body. 306 // Wait for initial loads to complete in SetUp() before running test body.
307 bool wait_for_initial_loads_; 307 bool wait_for_initial_loads_;
308 308
309 // This can be set to true to have the test run the dom automation case. 309 // This can be set to true to have the test run the dom automation case.
310 bool dom_automation_enabled_; 310 bool dom_automation_enabled_;
311 311
312 // This can be set to true to enable the stats collection extension JS
313 // bindings.
314 bool stats_collection_extension_enabled_;
315
312 // See set_template_user_data(). 316 // See set_template_user_data().
313 base::FilePath template_user_data_; 317 base::FilePath template_user_data_;
314 318
315 // Determines if the window is shown or hidden. Defaults to hidden. 319 // Determines if the window is shown or hidden. Defaults to hidden.
316 bool show_window_; 320 bool show_window_;
317 321
318 // If true the profile is cleared before launching. Default is true. 322 // If true the profile is cleared before launching. Default is true.
319 bool clear_profile_; 323 bool clear_profile_;
320 324
321 // Should we supply the testing channel id 325 // Should we supply the testing channel id
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 #ifdef UNIT_TEST 441 #ifdef UNIT_TEST
438 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr); 442 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr);
439 443
440 template<typename T> 444 template<typename T>
441 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) { 445 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) {
442 return out << ptr.get(); 446 return out << ptr.get();
443 } 447 }
444 #endif // UNIT_TEST 448 #endif // UNIT_TEST
445 449
446 #endif // CHROME_TEST_UI_UI_TEST_H_ 450 #endif // CHROME_TEST_UI_UI_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698