OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "public/platform/Platform.h" | 35 #include "public/platform/Platform.h" |
36 #include "public/platform/WebString.h" | 36 #include "public/platform/WebString.h" |
37 #include "public/platform/WebURL.h" | 37 #include "public/platform/WebURL.h" |
38 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 | 41 |
42 void getSupportedKeySizes(Locale& locale, Vector<String>& sizes) | 42 void getSupportedKeySizes(Locale& locale, Vector<String>& sizes) |
43 { | 43 { |
44 sizes.resize(2); | 44 sizes.resize(2); |
45 sizes[0] = locale.queryString(WebKit::WebLocalizedString::KeygenMenuHighGrad
eKeySize); | 45 sizes[0] = locale.queryString(blink::WebLocalizedString::KeygenMenuHighGrade
KeySize); |
46 sizes[1] = locale.queryString(WebKit::WebLocalizedString::KeygenMenuMediumGr
adeKeySize); | 46 sizes[1] = locale.queryString(blink::WebLocalizedString::KeygenMenuMediumGra
deKeySize); |
47 } | 47 } |
48 | 48 |
49 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String& ch
allengeString, const KURL& url) | 49 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String& ch
allengeString, const KURL& url) |
50 { | 50 { |
51 return WebKit::Platform::current()->signedPublicKeyAndChallengeString(keySiz
eIndex, WebKit::WebString(challengeString), WebKit::WebURL(url)); | 51 return blink::Platform::current()->signedPublicKeyAndChallengeString(keySize
Index, blink::WebString(challengeString), blink::WebURL(url)); |
52 } | 52 } |
53 | 53 |
54 } // namespace WebCore | 54 } // namespace WebCore |
OLD | NEW |