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

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

Issue 7790019: Remove duplicate NotificationService causing assertion failures in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « no previous file | 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) 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 test which runs under UI test framework. The 5 // This file provides reliablity test which runs under UI test framework. The
6 // test is intended to run within QEMU environment. 6 // test is intended to run within QEMU environment.
7 // 7 //
8 // Usage 1: reliability_test 8 // Usage 1: reliability_test
9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly 9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly
10 // used by buildbot, to verify reliability_test itself runs ok. 10 // used by buildbot, to verify reliability_test itself runs ok.
11 // 11 //
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 } 662 }
663 663
664 FilePath GetSampleDataDir() { 664 FilePath GetSampleDataDir() {
665 FilePath test_dir; 665 FilePath test_dir;
666 PathService::Get(chrome::DIR_TEST_DATA, &test_dir); 666 PathService::Get(chrome::DIR_TEST_DATA, &test_dir);
667 test_dir = test_dir.AppendASCII("reliability"); 667 test_dir = test_dir.AppendASCII("reliability");
668 test_dir = test_dir.AppendASCII("sample_pages"); 668 test_dir = test_dir.AppendASCII("sample_pages");
669 return test_dir; 669 return test_dir;
670 } 670 }
671 671
672 NotificationService notification_service_;
673
674 // The pathname of Chrome's crash dumps directory. 672 // The pathname of Chrome's crash dumps directory.
675 FilePath crash_dumps_dir_path_; 673 FilePath crash_dumps_dir_path_;
676 674
677 // The set of all the crash dumps we have seen. Each crash generates a 675 // The set of all the crash dumps we have seen. Each crash generates a
678 // .dmp and a .txt file in the crash dumps directory. We only store the 676 // .dmp and a .txt file in the crash dumps directory. We only store the
679 // .dmp files in this set. 677 // .dmp files in this set.
680 // 678 //
681 // The set is implemented as a std::map. The key is the file name, and 679 // The set is implemented as a std::map. The key is the file name, and
682 // the value is false (the file is not in the set) or true (the file is 680 // the value is false (the file is not in the set) or true (the file is
683 // in the set). The initial value for any key in std::map is 0 (false), 681 // in the set). The initial value for any key in std::map is 0 (false),
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 } 819 }
822 } 820 }
823 821
824 if (parsed_command_line.HasSwitch(kStressOptSwitch)) { 822 if (parsed_command_line.HasSwitch(kStressOptSwitch)) {
825 g_stress_opt = true; 823 g_stress_opt = true;
826 } 824 }
827 if (parsed_command_line.HasSwitch(kStressDeoptSwitch)) { 825 if (parsed_command_line.HasSwitch(kStressDeoptSwitch)) {
828 g_stress_deopt = true; 826 g_stress_deopt = true;
829 } 827 }
830 } 828 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698