Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Side by Side Diff: webkit/support/simple_webcookiejar_impl.cc

Issue 17476002: delete webkit/support/simple_xxx's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/support/simple_webcookiejar_impl.h ('k') | webkit/support/test_shell_request_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "webkit/support/simple_webcookiejar_impl.h"
6
7 #include "third_party/WebKit/public/platform/WebURL.h"
8 #include "webkit/support/simple_resource_loader_bridge.h"
9
10 using WebKit::WebString;
11 using WebKit::WebURL;
12
13 void SimpleWebCookieJarImpl::setCookie(const WebURL& url,
14 const WebURL& first_party_for_cookies,
15 const WebString& value) {
16 SimpleResourceLoaderBridge::SetCookie(
17 url, first_party_for_cookies, value.utf8());
18 }
19
20 WebString SimpleWebCookieJarImpl::cookies(
21 const WebURL& url,
22 const WebURL& first_party_for_cookies) {
23 return WebString::fromUTF8(
24 SimpleResourceLoaderBridge::GetCookies(url, first_party_for_cookies));
25 }
OLDNEW
« no previous file with comments | « webkit/support/simple_webcookiejar_impl.h ('k') | webkit/support/test_shell_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698