OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_EXTENSION_CHANGE_PROCESSOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_EXTENSION_CHANGE_PROCESSOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_EXTENSION_CHANGE_PROCESSOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_EXTENSION_CHANGE_PROCESSOR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/sync/engine/syncapi.h" | 10 #include "chrome/browser/sync/engine/syncapi.h" |
11 #include "chrome/browser/sync/glue/change_processor.h" | 11 #include "chrome/browser/sync/glue/change_processor.h" |
12 #include "chrome/browser/sync/glue/extension_sync_traits.h" | 12 #include "chrome/browser/sync/glue/extension_sync_traits.h" |
13 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
14 #include "chrome/common/notification_type.h" | 14 #include "chrome/common/notification_type.h" |
15 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
16 | 16 |
17 class ExtensionsService; | 17 class ExtensionService; |
18 class NotificationDetails; | 18 class NotificationDetails; |
19 class NotificationSource; | 19 class NotificationSource; |
20 class Profile; | 20 class Profile; |
21 | 21 |
22 namespace browser_sync { | 22 namespace browser_sync { |
23 | 23 |
24 class UnrecoverableErrorHandler; | 24 class UnrecoverableErrorHandler; |
25 | 25 |
26 // This class is responsible for taking changes from the | 26 // This class is responsible for taking changes from the |
27 // ExtensionService and applying them to the sync_api 'syncable' | 27 // ExtensionService and applying them to the sync_api 'syncable' |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 const ExtensionSyncTraits traits_; | 62 const ExtensionSyncTraits traits_; |
63 // Owner of the ExtensionService. Non-NULL iff |running()| is true. | 63 // Owner of the ExtensionService. Non-NULL iff |running()| is true. |
64 Profile* profile_; | 64 Profile* profile_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(ExtensionChangeProcessor); | 66 DISALLOW_COPY_AND_ASSIGN(ExtensionChangeProcessor); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace browser_sync | 69 } // namespace browser_sync |
70 | 70 |
71 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_CHANGE_PROCESSOR_H_ | 71 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_CHANGE_PROCESSOR_H_ |
OLD | NEW |