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

Unified Diff: chrome/browser/metrics/thread_watcher_unittest.cc

Issue 8879013: Deprecate WEBKIT thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update after rebase Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/metrics/thread_watcher.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/thread_watcher_unittest.cc
diff --git a/chrome/browser/metrics/thread_watcher_unittest.cc b/chrome/browser/metrics/thread_watcher_unittest.cc
index aa2bd867ac7ba0868a71d3e53be02f452803b769..dac63cfbbe6b1125aa95a4c1eb6ead0688796f2d 100644
--- a/chrome/browser/metrics/thread_watcher_unittest.cc
+++ b/chrome/browser/metrics/thread_watcher_unittest.cc
@@ -251,7 +251,7 @@ class ThreadWatcherTest : public ::testing::Test {
: setup_complete_(&lock_),
initialized_(false) {
webkit_thread_.reset(new content::TestBrowserThread(
- BrowserThread::WEBKIT));
+ BrowserThread::WEBKIT_DEPRECATED));
io_thread_.reset(new content::TestBrowserThread(BrowserThread::IO));
watchdog_thread_.reset(new WatchDogThread());
webkit_thread_->Start();
@@ -329,7 +329,7 @@ const TimeDelta ThreadWatcherTest::kUnresponsiveTime =
const BrowserThread::ID ThreadWatcherTest::io_thread_id = BrowserThread::IO;
const std::string ThreadWatcherTest::io_thread_name = "IO";
const BrowserThread::ID ThreadWatcherTest::webkit_thread_id =
- BrowserThread::WEBKIT;
+ BrowserThread::WEBKIT_DEPRECATED;
const std::string ThreadWatcherTest::webkit_thread_name = "WEBKIT";
const std::string ThreadWatcherTest::crash_on_hang_seconds = "24";
const std::string ThreadWatcherTest::crash_on_hang_threads = "IO,UI";
« no previous file with comments | « chrome/browser/metrics/thread_watcher.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698