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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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) 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_DATA_TYPE_CONTROLLER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_CONTROLLER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_CONTROLLER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_CONTROLLER_H__
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/message_loop_helpers.h" 14 #include "base/message_loop_helpers.h"
15 #include "chrome/browser/sync/engine/model_safe_worker.h"
16 #include "chrome/browser/sync/glue/data_type_error_handler.h" 15 #include "chrome/browser/sync/glue/data_type_error_handler.h"
17 #include "chrome/browser/sync/internal_api/includes/unrecoverable_error_handler. h"
18 #include "chrome/browser/sync/syncable/model_type.h"
19 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 #include "sync/engine/model_safe_worker.h"
18 #include "sync/syncable/model_type.h"
19 #include "sync/util/unrecoverable_error_handler.h"
20 20
21 class SyncError; 21 class SyncError;
22 22
23 namespace browser_sync { 23 namespace browser_sync {
24 24
25 // Data type controllers need to be refcounted threadsafe, as they may 25 // Data type controllers need to be refcounted threadsafe, as they may
26 // need to run model associator or change processor on other threads. 26 // need to run model associator or change processor on other threads.
27 class DataTypeController 27 class DataTypeController
28 : public base::RefCountedThreadSafe< 28 : public base::RefCountedThreadSafe<
29 DataTypeController, content::BrowserThread::DeleteOnUIThread>, 29 DataTypeController, content::BrowserThread::DeleteOnUIThread>,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 friend struct content::BrowserThread::DeleteOnThread< 108 friend struct content::BrowserThread::DeleteOnThread<
109 content::BrowserThread::UI>; 109 content::BrowserThread::UI>;
110 friend class base::DeleteHelper<DataTypeController>; 110 friend class base::DeleteHelper<DataTypeController>;
111 111
112 virtual ~DataTypeController() {} 112 virtual ~DataTypeController() {}
113 }; 113 };
114 114
115 } // namespace browser_sync 115 } // namespace browser_sync
116 116
117 #endif // CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_CONTROLLER_H__ 117 #endif // CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_CONTROLLER_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc ('k') | chrome/browser/sync/glue/data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698