| 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 "mojo/services/html_viewer/web_cookie_jar_impl.h" | 5 #include "components/html_viewer/web_cookie_jar_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "third_party/WebKit/public/platform/WebURL.h" | 8 #include "third_party/WebKit/public/platform/WebURL.h" |
| 9 | 9 |
| 10 using mojo::String; | 10 using mojo::String; |
| 11 | 11 |
| 12 namespace html_viewer { | 12 namespace html_viewer { |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 void CopyBool(bool* output, bool input) { | 15 void CopyBool(bool* output, bool input) { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return blink::WebString::fromUTF8(result); | 62 return blink::WebString::fromUTF8(result); |
| 63 } | 63 } |
| 64 | 64 |
| 65 blink::WebString WebCookieJarImpl::cookieRequestHeaderFieldValue( | 65 blink::WebString WebCookieJarImpl::cookieRequestHeaderFieldValue( |
| 66 const blink::WebURL& url, | 66 const blink::WebURL& url, |
| 67 const blink::WebURL& first_party_for_cookies) { | 67 const blink::WebURL& first_party_for_cookies) { |
| 68 return cookies(url, first_party_for_cookies); | 68 return cookies(url, first_party_for_cookies); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace html_viewer | 71 } // namespace html_viewer |
| OLD | NEW |