| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #ifdef CHROME_PERSONALIZATION | 4 #ifdef CHROME_PERSONALIZATION |
| 5 | 5 |
| 6 #include "base/thread.h" | 6 #include "base/thread.h" |
| 7 #include "chrome/browser/sync/engine/syncapi.h" | 7 #include "chrome/browser/sync/engine/syncapi.h" |
| 8 #include "chrome/browser/sync/glue/bookmark_model_worker.h" | 8 #include "chrome/browser/sync/glue/bookmark_model_worker.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 // This is what gets the UI thread blocked until NotifyExitRequested, | 215 // This is what gets the UI thread blocked until NotifyExitRequested, |
| 216 // which is called when FakeSyncapiShutdownTask runs and deletes the syncer. | 216 // which is called when FakeSyncapiShutdownTask runs and deletes the syncer. |
| 217 bmw()->Stop(); | 217 bmw()->Stop(); |
| 218 | 218 |
| 219 // Was the thread killed? | 219 // Was the thread killed? |
| 220 EXPECT_FALSE(syncer_thread()->IsRunning()); | 220 EXPECT_FALSE(syncer_thread()->IsRunning()); |
| 221 core_thread()->Stop(); | 221 core_thread()->Stop(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 #endif // CHROME_PERSONALIZATION | 224 #endif // CHROME_PERSONALIZATION |
| OLD | NEW |