OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ |
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "base/task.h" | 15 #include "base/task.h" |
16 #include "base/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "base/waitable_event.h" | 17 #include "base/waitable_event.h" |
18 #include "base/utf_string_conversions.h" | 18 #include "base/utf_string_conversions.h" |
19 #include "chrome/browser/browser_thread.h" | 19 #include "chrome/browser/browser_thread.h" |
20 #include "chrome/browser/webdata/web_database.h" | 20 #include "chrome/browser/webdata/web_database.h" |
21 #include "chrome/browser/sync/glue/bookmark_change_processor.h" | 21 #include "chrome/browser/sync/glue/bookmark_change_processor.h" |
22 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" | 22 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" |
23 #include "chrome/browser/sync/glue/bookmark_model_associator.h" | 23 #include "chrome/browser/sync/glue/bookmark_model_associator.h" |
24 #include "chrome/browser/sync/glue/change_processor.h" | 24 #include "chrome/browser/sync/glue/change_processor.h" |
25 #include "chrome/browser/sync/glue/data_type_manager_impl.h" | 25 #include "chrome/browser/sync/glue/data_type_manager_impl.h" |
26 #include "chrome/browser/sync/profile_sync_factory.h" | 26 #include "chrome/browser/sync/profile_sync_factory.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 const NotificationDetails& details) { | 179 const NotificationDetails& details) { |
180 NotificationService::current()->Notify(type, source, details); | 180 NotificationService::current()->Notify(type, source, details); |
181 done_event_.Signal(); | 181 done_event_.Signal(); |
182 } | 182 } |
183 | 183 |
184 base::WaitableEvent done_event_; | 184 base::WaitableEvent done_event_; |
185 base::Thread* notify_thread_; | 185 base::Thread* notify_thread_; |
186 }; | 186 }; |
187 | 187 |
188 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ | 188 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ |
OLD | NEW |