| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/sync/engine/syncer_thread_timed_stop.h" | 4 #include "chrome/browser/sync/engine/syncer_thread_timed_stop.h" |
| 5 | 5 |
| 6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
| 7 | 7 |
| 8 #ifdef OS_MACOSX | 8 #ifdef OS_MACOSX |
| 9 #include <CoreFoundation/CFNumber.h> | 9 #include <CoreFoundation/CFNumber.h> |
| 10 #include <IOKit/IOTypes.h> | 10 #include <IOKit/IOTypes.h> |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // release the lock until we're far enough along to Stop safely. | 110 // release the lock until we're far enough along to Stop safely. |
| 111 in_thread_main_loop_ = true; | 111 in_thread_main_loop_ = true; |
| 112 vault_field_changed_.Broadcast(); | 112 vault_field_changed_.Broadcast(); |
| 113 ThreadMainLoop(); | 113 ThreadMainLoop(); |
| 114 in_thread_main_loop_ = false; | 114 in_thread_main_loop_ = false; |
| 115 vault_field_changed_.Broadcast(); | 115 vault_field_changed_.Broadcast(); |
| 116 LOG(INFO) << "Syncer thread ThreadMain is done."; | 116 LOG(INFO) << "Syncer thread ThreadMain is done."; |
| 117 } | 117 } |
| 118 | 118 |
| 119 } // namespace browser_sync | 119 } // namespace browser_sync |
| OLD | NEW |