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

Side by Side Diff: components/sync_driver/glue/ui_model_worker.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
11 #include "base/synchronization/condition_variable.h" 12 #include "base/synchronization/condition_variable.h"
12 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
13 #include "sync/internal_api/public/engine/model_safe_worker.h" 14 #include "sync/internal_api/public/engine/model_safe_worker.h"
14 #include "sync/internal_api/public/util/unrecoverable_error_info.h" 15 #include "sync/internal_api/public/util/unrecoverable_error_info.h"
15 16
16 namespace browser_sync { 17 namespace browser_sync {
17 18
18 // A syncer::ModelSafeWorker for UI models (e.g. bookmarks) that 19 // A syncer::ModelSafeWorker for UI models (e.g. bookmarks) that
19 // accepts work requests from the syncapi that need to be fulfilled 20 // accepts work requests from the syncapi that need to be fulfilled
(...skipping 16 matching lines...) Expand all
36 37
37 // A reference to the UI thread's task runner. 38 // A reference to the UI thread's task runner.
38 const scoped_refptr<base::SingleThreadTaskRunner> ui_thread_; 39 const scoped_refptr<base::SingleThreadTaskRunner> ui_thread_;
39 40
40 DISALLOW_COPY_AND_ASSIGN(UIModelWorker); 41 DISALLOW_COPY_AND_ASSIGN(UIModelWorker);
41 }; 42 };
42 43
43 } // namespace browser_sync 44 } // namespace browser_sync
44 45
45 #endif // COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_ 46 #endif // COMPONENTS_SYNC_DRIVER_GLUE_UI_MODEL_WORKER_H_
OLDNEW
« no previous file with comments | « components/sync_driver/glue/sync_backend_registrar.cc ('k') | components/sync_driver/glue/ui_model_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698