| 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 #include "config.h" | |
| 6 #include "modules/background_sync/SyncCallbacks.h" | 5 #include "modules/background_sync/SyncCallbacks.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ScriptPromiseResolver.h" | 7 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 9 #include "modules/background_sync/SyncError.h" | 8 #include "modules/background_sync/SyncError.h" |
| 10 #include "modules/background_sync/SyncRegistration.h" | 9 #include "modules/background_sync/SyncRegistration.h" |
| 11 #include "modules/serviceworkers/ServiceWorkerRegistration.h" | 10 #include "modules/serviceworkers/ServiceWorkerRegistration.h" |
| 12 #include "wtf/OwnPtr.h" | 11 #include "wtf/OwnPtr.h" |
| 13 #include "wtf/PassOwnPtr.h" | 12 #include "wtf/PassOwnPtr.h" |
| 14 | 13 |
| 15 namespace blink { | 14 namespace blink { |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 return "denied"; | 176 return "denied"; |
| 178 case WebSyncPermissionStatusPrompt: | 177 case WebSyncPermissionStatusPrompt: |
| 179 return "prompt"; | 178 return "prompt"; |
| 180 } | 179 } |
| 181 | 180 |
| 182 ASSERT_NOT_REACHED(); | 181 ASSERT_NOT_REACHED(); |
| 183 return "denied"; | 182 return "denied"; |
| 184 } | 183 } |
| 185 | 184 |
| 186 } // namespace blink | 185 } // namespace blink |
| OLD | NEW |