OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include <set> | 5 #include <set> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "chrome/test/ui/ui_test.h" | 8 #include "chrome/test/ui/ui_test.h" |
9 | 9 |
10 #include "base/base_switches.h" | 10 #include "base/base_switches.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/common/debug_flags.h" | 23 #include "chrome/common/debug_flags.h" |
24 #include "chrome/common/logging_chrome.h" | 24 #include "chrome/common/logging_chrome.h" |
25 #include "chrome/common/json_value_serializer.h" | 25 #include "chrome/common/json_value_serializer.h" |
26 #include "chrome/test/automation/browser_proxy.h" | 26 #include "chrome/test/automation/browser_proxy.h" |
27 #include "chrome/test/automation/tab_proxy.h" | 27 #include "chrome/test/automation/tab_proxy.h" |
28 #include "chrome/test/automation/window_proxy.h" | 28 #include "chrome/test/automation/window_proxy.h" |
29 #include "chrome/test/test_file_util.h" | 29 #include "chrome/test/test_file_util.h" |
30 #include "googleurl/src/gurl.h" | 30 #include "googleurl/src/gurl.h" |
31 #include "net/base/net_util.h" | 31 #include "net/base/net_util.h" |
32 | 32 |
| 33 using base::TimeTicks; |
| 34 |
33 bool UITest::in_process_renderer_ = false; | 35 bool UITest::in_process_renderer_ = false; |
34 bool UITest::in_process_plugins_ = false; | 36 bool UITest::in_process_plugins_ = false; |
35 bool UITest::no_sandbox_ = false; | 37 bool UITest::no_sandbox_ = false; |
36 bool UITest::full_memory_dump_ = false; | 38 bool UITest::full_memory_dump_ = false; |
37 bool UITest::safe_plugins_ = false; | 39 bool UITest::safe_plugins_ = false; |
38 bool UITest::show_error_dialogs_ = true; | 40 bool UITest::show_error_dialogs_ = true; |
39 bool UITest::default_use_existing_browser_ = false; | 41 bool UITest::default_use_existing_browser_ = false; |
40 bool UITest::dump_histograms_on_exit_ = false; | 42 bool UITest::dump_histograms_on_exit_ = false; |
41 bool UITest::enable_dcheck_ = false; | 43 bool UITest::enable_dcheck_ = false; |
42 bool UITest::silent_dump_on_dcheck_ = false; | 44 bool UITest::silent_dump_on_dcheck_ = false; |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 const std::wstring& units, | 654 const std::wstring& units, |
653 bool important) { | 655 bool important) { |
654 // <*>RESULT <graph_name>: <trace_name>= <value> <units> | 656 // <*>RESULT <graph_name>: <trace_name>= <value> <units> |
655 // <*>RESULT <graph_name>: <trace_name>= {<mean>, <std deviation>} <units> | 657 // <*>RESULT <graph_name>: <trace_name>= {<mean>, <std deviation>} <units> |
656 // <*>RESULT <graph_name>: <trace_name>= [<value>,value,value,...,] <units> | 658 // <*>RESULT <graph_name>: <trace_name>= [<value>,value,value,...,] <units> |
657 wprintf(L"%lsRESULT %ls%ls: %ls= %ls%ls%ls %ls\n", | 659 wprintf(L"%lsRESULT %ls%ls: %ls= %ls%ls%ls %ls\n", |
658 important ? L"*" : L"", measurement.c_str(), modifier.c_str(), | 660 important ? L"*" : L"", measurement.c_str(), modifier.c_str(), |
659 trace.c_str(), prefix.c_str(), values.c_str(), suffix.c_str(), | 661 trace.c_str(), prefix.c_str(), values.c_str(), suffix.c_str(), |
660 units.c_str()); | 662 units.c_str()); |
661 } | 663 } |
OLD | NEW |