OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTEXT_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTEXT_IMPL_H_ |
6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTEXT_IMPL_H_ | 6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTEXT_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "content/common/background_sync_service.mojom.h" | 13 #include "content/common/background_sync_service.mojom.h" |
13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
14 #include "content/public/browser/background_sync_context.h" | 15 #include "content/public/browser/background_sync_context.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
18 class BackgroundSyncManager; | 19 class BackgroundSyncManager; |
19 class BackgroundSyncServiceImpl; | 20 class BackgroundSyncServiceImpl; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // during ShutdownOnIO or when the channel is closed via | 67 // during ShutdownOnIO or when the channel is closed via |
67 // ServiceHadConnectionError. Only accessed on the IO thread. | 68 // ServiceHadConnectionError. Only accessed on the IO thread. |
68 std::set<BackgroundSyncServiceImpl*> services_; | 69 std::set<BackgroundSyncServiceImpl*> services_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncContextImpl); | 71 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncContextImpl); |
71 }; | 72 }; |
72 | 73 |
73 } // namespace content | 74 } // namespace content |
74 | 75 |
75 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTEXT_IMPL_H_ | 76 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTEXT_IMPL_H_ |
OLD | NEW |