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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 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 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/synchronization/condition_variable.h" 10 #include "base/synchronization/condition_variable.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "sync/internal_api/public/engine/model_safe_worker.h" 12 #include "sync/internal_api/public/engine/model_safe_worker.h"
13 #include "sync/internal_api/public/util/unrecoverable_error_info.h" 13 #include "sync/internal_api/public/util/unrecoverable_error_info.h"
14 14
15 namespace browser_sync { 15 namespace browser_sync {
16 16
17 // A syncer::ModelSafeWorker for UI models (e.g. bookmarks) that 17 // A syncer::ModelSafeWorker for UI models (e.g. bookmarks) that
18 // accepts work requests from the syncapi that need to be fulfilled 18 // accepts work requests from the syncapi that need to be fulfilled
19 // from the MessageLoop home to the native model. 19 // from the MessageLoop home to the native model.
20 class UIModelWorker : public syncer::ModelSafeWorker { 20 class UIModelWorker : public syncer::ModelSafeWorker {
21 public: 21 public:
22 explicit UIModelWorker(syncer::WorkerLoopDestructionObserver* observer); 22 explicit UIModelWorker(syncer::WorkerLoopDestructionObserver* observer);
23 23
24 // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread. 24 // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
25 virtual void RegisterForLoopDestruction() OVERRIDE; 25 virtual void RegisterForLoopDestruction() override;
26 virtual syncer::ModelSafeGroup GetModelSafeGroup() OVERRIDE; 26 virtual syncer::ModelSafeGroup GetModelSafeGroup() override;
27 27
28 protected: 28 protected:
29 virtual syncer::SyncerError DoWorkAndWaitUntilDoneImpl( 29 virtual syncer::SyncerError DoWorkAndWaitUntilDoneImpl(
30 const syncer::WorkCallback& work) OVERRIDE; 30 const syncer::WorkCallback& work) override;
31 31
32 private: 32 private:
33 virtual ~UIModelWorker(); 33 virtual ~UIModelWorker();
34 34
35 DISALLOW_COPY_AND_ASSIGN(UIModelWorker); 35 DISALLOW_COPY_AND_ASSIGN(UIModelWorker);
36 }; 36 };
37 37
38 } // namespace browser_sync 38 } // namespace browser_sync
39 39
40 #endif // CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_ 40 #endif // CHROME_BROWSER_SYNC_GLUE_UI_MODEL_WORKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/typed_url_model_associator.h ('k') | chrome/browser/sync/profile_sync_auth_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698