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_REGISTRATION_HANDLE_H_ | 5 #ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_HANDLE_H_ |
6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_HANDLE_H_ | 6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_HANDLE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
11 #include "content/browser/background_sync/background_sync_registration.h" | 14 #include "content/browser/background_sync/background_sync_registration.h" |
12 #include "content/browser/background_sync/background_sync_status.h" | 15 #include "content/browser/background_sync/background_sync_status.h" |
13 #include "content/common/background_sync_service.mojom.h" | 16 #include "content/common/background_sync_service.mojom.h" |
14 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
15 | 18 |
16 namespace content { | 19 namespace content { |
17 | 20 |
18 class BackgroundSyncManager; | 21 class BackgroundSyncManager; |
19 | 22 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // This is owned by background_sync_manager_ and is valid until handle_id_ is | 86 // This is owned by background_sync_manager_ and is valid until handle_id_ is |
84 // released in the destructor or background_sync_manager_ has been destroyed. | 87 // released in the destructor or background_sync_manager_ has been destroyed. |
85 BackgroundSyncRegistration* registration_; | 88 BackgroundSyncRegistration* registration_; |
86 | 89 |
87 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncRegistrationHandle); | 90 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncRegistrationHandle); |
88 }; | 91 }; |
89 | 92 |
90 } // namespace | 93 } // namespace |
91 | 94 |
92 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_HANDLE_H
_ | 95 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_HANDLE_H
_ |
OLD | NEW |