diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-07 20:31:24 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-07 20:31:24 +0000 |
commit | 8b717ea16c81a3ed0a5e1801987342a2e7155f8c (patch) | |
tree | 04d25d33bf4c45bef52d91268bd99727da5adcdc /chrome/test/reliability | |
parent | ef3c3d3b1818ec9c05ec8de5c448d3936da07987 (diff) | |
download | chromium_src-8b717ea16c81a3ed0a5e1801987342a2e7155f8c.zip chromium_src-8b717ea16c81a3ed0a5e1801987342a2e7155f8c.tar.gz chromium_src-8b717ea16c81a3ed0a5e1801987342a2e7155f8c.tar.bz2 |
Use chrome::kAboutCrashURL in a few most places.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1612008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/reliability')
-rw-r--r-- | chrome/test/reliability/page_load_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc index 041ab1f..8d63696 100644 --- a/chrome/test/reliability/page_load_test.cc +++ b/chrome/test/reliability/page_load_test.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -54,6 +54,7 @@ #include "chrome/common/chrome_switches.h" #include "chrome/common/logging_chrome.h" #include "chrome/common/pref_names.h" +#include "chrome/common/url_constants.h" #include "chrome/test/automation/automation_messages.h" #include "chrome/test/automation/automation_proxy.h" #include "chrome/test/automation/browser_proxy.h" @@ -86,7 +87,6 @@ const char kDefaultServerUrl[] = "http://urllist.com"; std::string g_server_url; const char kTestPage1[] = "page1.html"; const char kTestPage2[] = "page2.html"; -const char crash_url[] = "about:crash"; // These are copied from v8 definitions as we cannot include them. const char kV8LogFileSwitch[] = "logfile"; @@ -356,7 +356,7 @@ class PageLoadTest : public UITest { EXPECT_EQ(0, metrics.plugin_crash_count); // Go to "about:crash" - NavigateToURLLogResult(crash_url, log_file, &metrics); + NavigateToURLLogResult(chrome::kAboutCrashURL, log_file, &metrics); // Found a crash dump EXPECT_EQ(1, metrics.crash_dump_count) << kFailedNoCrashService; // Browser did not crash, and exited cleanly. |