| 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_SERVICE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_H_ | 6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| 11 #include "content/browser/background_sync/background_sync_manager.h" | 11 #include "content/browser/background_sync/background_sync_manager.h" |
| 12 #include "content/common/background_sync_service.mojom.h" | 12 #include "content/common/background_sync_service.mojom.h" |
| 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 class BackgroundSyncContextImpl; | 17 class BackgroundSyncContextImpl; |
| 18 | 18 |
| 19 class CONTENT_EXPORT BackgroundSyncServiceImpl | 19 class CONTENT_EXPORT BackgroundSyncServiceImpl |
| 20 : public NON_EXPORTED_BASE(BackgroundSyncService) { | 20 : public NON_EXPORTED_BASE(BackgroundSyncService) { |
| 21 public: | 21 public: |
| 22 BackgroundSyncServiceImpl( | 22 BackgroundSyncServiceImpl( |
| 23 BackgroundSyncContextImpl* background_sync_context, | 23 BackgroundSyncContextImpl* background_sync_context, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 BackgroundSyncRegistrationHandle::HandleId> active_handles_; | 82 BackgroundSyncRegistrationHandle::HandleId> active_handles_; |
| 83 | 83 |
| 84 base::WeakPtrFactory<BackgroundSyncServiceImpl> weak_ptr_factory_; | 84 base::WeakPtrFactory<BackgroundSyncServiceImpl> weak_ptr_factory_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncServiceImpl); | 86 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncServiceImpl); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace content | 89 } // namespace content |
| 90 | 90 |
| 91 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_H_ | 91 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_H_ |
| OLD | NEW |