OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "modules/credentialmanager/CredentialsContainer.h" | 5 #include "modules/credentialmanager/CredentialsContainer.h" |
6 | 6 |
7 #include "bindings/core/v8/Dictionary.h" | 7 #include "bindings/core/v8/Dictionary.h" |
8 #include "bindings/core/v8/ExceptionMessages.h" | |
philipj_slow
2016/04/19 09:20:36
Added header but no other changes?
Mike West
2016/04/25 10:20:13
Yeah. Dropped, thanks!
| |
8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptPromiseResolver.h" | 10 #include "bindings/core/v8/ScriptPromiseResolver.h" |
10 #include "core/dom/DOMException.h" | 11 #include "core/dom/DOMException.h" |
11 #include "core/dom/Document.h" | 12 #include "core/dom/Document.h" |
12 #include "core/dom/ExceptionCode.h" | 13 #include "core/dom/ExceptionCode.h" |
13 #include "core/dom/ExecutionContext.h" | 14 #include "core/dom/ExecutionContext.h" |
14 #include "core/frame/Frame.h" | 15 #include "core/frame/Frame.h" |
15 #include "core/frame/UseCounter.h" | 16 #include "core/frame/UseCounter.h" |
16 #include "core/page/FrameTree.h" | 17 #include "core/page/FrameTree.h" |
17 #include "modules/credentialmanager/Credential.h" | 18 #include "modules/credentialmanager/Credential.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
179 ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState) ; | 180 ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState) ; |
180 ScriptPromise promise = resolver->promise(); | 181 ScriptPromise promise = resolver->promise(); |
181 if (!checkBoilerplate(resolver)) | 182 if (!checkBoilerplate(resolver)) |
182 return promise; | 183 return promise; |
183 | 184 |
184 CredentialManagerClient::from(scriptState->getExecutionContext())->dispatchR equireUserMediation(new NotificationCallbacks(resolver)); | 185 CredentialManagerClient::from(scriptState->getExecutionContext())->dispatchR equireUserMediation(new NotificationCallbacks(resolver)); |
185 return promise; | 186 return promise; |
186 } | 187 } |
187 | 188 |
188 } // namespace blink | 189 } // namespace blink |
OLD | NEW |