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_H_ | 5 #ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ |
6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ | 6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/time/time.h" | 15 #include "base/time/time.h" |
14 #include "content/browser/background_sync/background_sync.pb.h" | 16 #include "content/browser/background_sync/background_sync.pb.h" |
15 #include "content/browser/background_sync/background_sync_registration_options.h
" | 17 #include "content/browser/background_sync/background_sync_registration_options.h
" |
16 #include "content/common/background_sync_service.mojom.h" | 18 #include "content/common/background_sync_service.mojom.h" |
17 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 template <> | 88 template <> |
87 struct CONTENT_EXPORT TypeConverter<content::SyncRegistrationPtr, | 89 struct CONTENT_EXPORT TypeConverter<content::SyncRegistrationPtr, |
88 content::BackgroundSyncRegistration> { | 90 content::BackgroundSyncRegistration> { |
89 static content::SyncRegistrationPtr Convert( | 91 static content::SyncRegistrationPtr Convert( |
90 const content::BackgroundSyncRegistration& input); | 92 const content::BackgroundSyncRegistration& input); |
91 }; | 93 }; |
92 | 94 |
93 } // namespace | 95 } // namespace |
94 | 96 |
95 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ | 97 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ |
OLD | NEW |