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

Side by Side Diff: chrome_frame/test/reliability/page_load_test.cc

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 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) 2006-2009 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 // This file provides reliablity tests which run for ChromeFrame. 5 // This file provides reliablity tests which run for ChromeFrame.
6 // 6 //
7 // Usage: 7 // Usage:
8 // <reliability test exe> --list=file --startline=start --endline=end [...] 8 // <reliability test exe> --list=file --startline=start --endline=end [...]
9 // Upon invocation, it visits each of the URLs on line numbers between start 9 // Upon invocation, it visits each of the URLs on line numbers between start
10 // and end, inclusive, stored in the input file. The line number starts from 1. 10 // and end, inclusive, stored in the input file. The line number starts from 1.
11 // 11 //
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 base::Time time_now = base::Time::Now(); 174 base::Time time_now = base::Time::Now();
175 double time_start = time_now.ToDoubleT(); 175 double time_start = time_now.ToDoubleT();
176 test_log << "Test Start: "; 176 test_log << "Test Start: ";
177 test_log << base::TimeFormatFriendlyDateAndTime(time_now) << std::endl; 177 test_log << base::TimeFormatFriendlyDateAndTime(time_now) << std::endl;
178 178
179 HRESULT hr = E_FAIL; 179 HRESULT hr = E_FAIL;
180 180
181 chrome_frame_test::TimedMsgLoop message_loop; 181 chrome_frame_test::TimedMsgLoop message_loop;
182 182
183 // Launch IE. 183 // Launch IE.
184 ScopedComPtr<IWebBrowser2> web_browser2; 184 base::win::ScopedComPtr<IWebBrowser2> web_browser2;
185 hr = chrome_frame_test::LaunchIEAsComServer(web_browser2.Receive()); 185 hr = chrome_frame_test::LaunchIEAsComServer(web_browser2.Receive());
186 EXPECT_HRESULT_SUCCEEDED(hr); 186 EXPECT_HRESULT_SUCCEEDED(hr);
187 EXPECT_TRUE(web_browser2.get() != NULL); 187 EXPECT_TRUE(web_browser2.get() != NULL);
188 web_browser2->put_Visible(VARIANT_TRUE); 188 web_browser2->put_Visible(VARIANT_TRUE);
189 189
190 // Log Browser Launched time. 190 // Log Browser Launched time.
191 time_now = base::Time::Now(); 191 time_now = base::Time::Now();
192 test_log << "browser_launched_seconds="; 192 test_log << "browser_launched_seconds=";
193 test_log << (time_now.ToDoubleT() - time_start) << std::endl; 193 test_log << (time_now.ToDoubleT() - time_start) << std::endl;
194 194
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); 579 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags));
580 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { 580 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) {
581 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); 581 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch);
582 if (!file_util::AbsolutePath(&g_v8_log_path)) 582 if (!file_util::AbsolutePath(&g_v8_log_path))
583 g_v8_log_path = FilePath(); 583 g_v8_log_path = FilePath();
584 } 584 }
585 } 585 }
586 } 586 }
587 } 587 }
588 } 588 }
OLDNEW
« no previous file with comments | « chrome_frame/test/perf/silverlight.cc ('k') | chrome_frame/test/urlmon_moniker_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698