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 "config.h" | |
6 #include "modules/credentialmanager/Credential.h" | 5 #include "modules/credentialmanager/Credential.h" |
7 | 6 |
8 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
9 #include "core/dom/ExceptionCode.h" | 8 #include "core/dom/ExceptionCode.h" |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 Credential::Credential(PlatformCredential* credential) | 12 Credential::Credential(PlatformCredential* credential) |
14 : m_platformCredential(credential) | 13 : m_platformCredential(credential) |
15 { | 14 { |
(...skipping 13 matching lines...) Expand all Loading... |
29 exceptionState.throwDOMException(SyntaxError, "'" + url + "' is not a va
lid URL."); | 28 exceptionState.throwDOMException(SyntaxError, "'" + url + "' is not a va
lid URL."); |
30 return parsedURL; | 29 return parsedURL; |
31 } | 30 } |
32 | 31 |
33 DEFINE_TRACE(Credential) | 32 DEFINE_TRACE(Credential) |
34 { | 33 { |
35 visitor->trace(m_platformCredential); | 34 visitor->trace(m_platformCredential); |
36 } | 35 } |
37 | 36 |
38 } // namespace blink | 37 } // namespace blink |
OLD | NEW |