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

Side by Side Diff: chrome_frame/test/perf/chrome_frame_perftest.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 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
« no previous file with comments | « chrome/test/url_fetch_test/url_fetch_test.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome_frame/test/perf/chrome_frame_perftest.h" 4 #include "chrome_frame/test/perf/chrome_frame_perftest.h"
5 5
6 #include <atlwin.h> 6 #include <atlwin.h>
7 #include <atlhost.h> 7 #include <atlhost.h>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 #include <string> 10 #include <string>
11 11
12 #include "chrome_tab.h" // Generated from chrome_tab.idl. 12 #include "chrome_tab.h" // Generated from chrome_tab.idl.
13 13
14 #include "base/event_trace_controller_win.h" 14 #include "base/event_trace_controller_win.h"
15 #include "base/event_trace_consumer_win.h" 15 #include "base/event_trace_consumer_win.h"
16 #include "base/file_path.h" 16 #include "base/file_path.h"
17 #include "base/file_util.h" 17 #include "base/file_util.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/process_util.h" 19 #include "base/process_util.h"
20 #include "base/registry.h" 20 #include "base/registry.h"
21 #include "base/scoped_ptr.h" 21 #include "base/scoped_ptr.h"
22 #include "base/scoped_bstr_win.h" 22 #include "base/scoped_bstr_win.h"
23 #include "base/scoped_comptr_win.h" 23 #include "base/scoped_comptr_win.h"
24 #include "base/scoped_variant_win.h" 24 #include "base/scoped_variant_win.h"
25 #include "base/string_util.h" 25 #include "base/string_util.h"
26 #include "base/time.h" 26 #include "base/time.h"
27 #include "base/trace_event_win.h" 27 #include "base/trace_event_win.h"
28 #include "base/utf_string_conversions.h"
28 #include "chrome/common/chrome_constants.h" 29 #include "chrome/common/chrome_constants.h"
29 #include "chrome/common/chrome_paths.h" 30 #include "chrome/common/chrome_paths.h"
30 #include "chrome/common/chrome_paths_internal.h" 31 #include "chrome/common/chrome_paths_internal.h"
31 #include "chrome/test/chrome_process_util.h" 32 #include "chrome/test/chrome_process_util.h"
32 #include "chrome/test/ui/ui_test.h" 33 #include "chrome/test/ui/ui_test.h"
33 34
34 #include "chrome_frame/test_utils.h" 35 #include "chrome_frame/test_utils.h"
35 #include "chrome_frame/utils.h" 36 #include "chrome_frame/utils.h"
36 37
37 const wchar_t kSilverlightControlKey[] = 38 const wchar_t kSilverlightControlKey[] =
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 // Print results 1341 // Print results
1341 std::string times; 1342 std::string times;
1342 for (int i = 0; i < kNumCycles; ++i) { 1343 for (int i = 0; i < kNumCycles; ++i) {
1343 ASSERT_TRUE(monitor[i].is_valid()); 1344 ASSERT_TRUE(monitor[i].is_valid());
1344 StringAppendF(&times, "%.2f,", monitor[i].duration().InMillisecondsF()); 1345 StringAppendF(&times, "%.2f,", monitor[i].duration().InMillisecondsF());
1345 } 1346 }
1346 1347
1347 bool important = false; 1348 bool important = false;
1348 PrintResultList("createproxy", "", "t", times, "ms", important); 1349 PrintResultList("createproxy", "", "t", times, "ms", important);
1349 } 1350 }
OLDNEW
« no previous file with comments | « chrome/test/url_fetch_test/url_fetch_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698