| 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_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ | 5 #ifndef CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ |
| 6 #define CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ | 6 #define CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "content/common/background_sync_service.mojom.h" | 14 #include "content/common/background_sync_service.mojom.h" |
| 12 #include "content/public/child/worker_thread.h" | 15 #include "content/public/child/worker_thread.h" |
| 13 #include "third_party/WebKit/public/platform/modules/background_sync/WebSyncProv
ider.h" | 16 #include "third_party/WebKit/public/platform/modules/background_sync/WebSyncProv
ider.h" |
| 14 | 17 |
| 15 namespace base { | 18 namespace base { |
| 16 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
| 17 } | 20 } |
| 18 | 21 |
| 19 namespace content { | 22 namespace content { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 112 |
| 110 BackgroundSyncServicePtr background_sync_service_; | 113 BackgroundSyncServicePtr background_sync_service_; |
| 111 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 114 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
| 112 | 115 |
| 113 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncProvider); | 116 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncProvider); |
| 114 }; | 117 }; |
| 115 | 118 |
| 116 } // namespace content | 119 } // namespace content |
| 117 | 120 |
| 118 #endif // CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ | 121 #endif // CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ |
| OLD | NEW |