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

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

Issue 8699011: Use callback_forward.h instead of callback.h where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove callback_forward.h, which was committed as part of a separate CL. Created 9 years 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) 2011 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_HISTORY_MODEL_WORKER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_HISTORY_MODEL_WORKER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_HISTORY_MODEL_WORKER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_HISTORY_MODEL_WORKER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/sync/engine/model_safe_worker.h" 9 #include "chrome/browser/sync/engine/model_safe_worker.h"
10 #include "chrome/browser/sync/util/unrecoverable_error_info.h" 10 #include "chrome/browser/sync/util/unrecoverable_error_info.h"
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/callback.h" 13 #include "base/callback_forward.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "content/browser/cancelable_request.h" 16 #include "content/browser/cancelable_request.h"
17 17
18 class HistoryService; 18 class HistoryService;
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
22 // A ModelSafeWorker for history models that accepts requests 22 // A ModelSafeWorker for history models that accepts requests
23 // from the syncapi that need to be fulfilled on the history thread. 23 // from the syncapi that need to be fulfilled on the history thread.
(...skipping 11 matching lines...) Expand all
35 scoped_refptr<HistoryService> history_service_; 35 scoped_refptr<HistoryService> history_service_;
36 // Helper object to make sure we don't leave tasks running on the history 36 // Helper object to make sure we don't leave tasks running on the history
37 // thread. 37 // thread.
38 CancelableRequestConsumerT<int, 0> cancelable_consumer_; 38 CancelableRequestConsumerT<int, 0> cancelable_consumer_;
39 DISALLOW_COPY_AND_ASSIGN(HistoryModelWorker); 39 DISALLOW_COPY_AND_ASSIGN(HistoryModelWorker);
40 }; 40 };
41 41
42 } // namespace browser_sync 42 } // namespace browser_sync
43 43
44 #endif // CHROME_BROWSER_SYNC_GLUE_HISTORY_MODEL_WORKER_H_ 44 #endif // CHROME_BROWSER_SYNC_GLUE_HISTORY_MODEL_WORKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/browser_thread_model_worker.h ('k') | chrome/browser/sync/glue/password_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698