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

Side by Side Diff: chrome/browser/sync/glue/ui_model_worker.h

Issue 7624009: Original patch by rlarocque@chromium.org at http://codereview.chromium.org/7633077/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build pt5 Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GLUE_UI_MODEL_WORKER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/synchronization/condition_variable.h"
10 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
11 #include "base/synchronization/condition_variable.h"
12 #include "base/task.h" 12 #include "base/task.h"
13 #include "chrome/browser/sync/engine/syncapi.h"
14 #include "chrome/browser/sync/engine/model_safe_worker.h" 13 #include "chrome/browser/sync/engine/model_safe_worker.h"
15 14
16 namespace base { 15 namespace base {
17 class WaitableEvent; 16 class WaitableEvent;
18 } 17 }
19 18
20 class MessageLoop; 19 class MessageLoop;
21 20
22 namespace browser_sync { 21 namespace browser_sync {
23 22
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // SyncerThread has terminated. We only care about (1) when we are in Stop(), 123 // SyncerThread has terminated. We only care about (1) when we are in Stop(),
125 // because we have to manually Run() the task. 124 // because we have to manually Run() the task.
126 base::ConditionVariable syncapi_event_; 125 base::ConditionVariable syncapi_event_;
127 126
128 DISALLOW_COPY_AND_ASSIGN(UIModelWorker); 127 DISALLOW_COPY_AND_ASSIGN(UIModelWorker);
129 }; 128 };
130 129
131 } // namespace browser_sync 130 } // namespace browser_sync
132 131
133 #endif // CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_ 132 #endif // CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/typed_url_model_associator.cc ('k') | chrome/browser/sync/glue/ui_model_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698