Index: chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc |
diff --git a/chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc b/chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc |
index 4c6881abd6c1fca2471856c5c33d37c2c5c9bf31..a0ef2dd186df2dadcc4d63b584a91061eb896534 100644 |
--- a/chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc |
+++ b/chrome/browser/sync/glue/browser_thread_model_worker_unittest.cc |
@@ -11,7 +11,6 @@ |
#include "base/threading/thread.h" |
#include "base/timer.h" |
#include "chrome/browser/sync/glue/browser_thread_model_worker.h" |
-#include "chrome/browser/sync/util/unrecoverable_error_info.h" |
#include "content/test/test_browser_thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -54,13 +53,13 @@ class BrowserThreadModelWorkerTest : public testing::Test { |
} |
// This is the work that will be scheduled to be done on the DB thread. |
- UnrecoverableErrorInfo DoWork() { |
+ SyncerError DoWork() { |
EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::DB)); |
timer_.Stop(); // Stop the failure timer so the test succeeds. |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, MessageLoop::QuitClosure()); |
did_do_work_ = true; |
- return UnrecoverableErrorInfo(); |
+ return NO_ERROR; |
} |
// This will be called by the OneShotTimer and make the test fail unless |