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

Side by Side Diff: components/html_viewer/web_cookie_jar_impl.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_HTML_VIEWER_WEB_COOKIE_JAR_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_COOKIE_JAR_IMPL_H_
7
8 #include "base/macros.h"
9 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h"
10 #include "third_party/WebKit/public/platform/WebCookieJar.h"
11
12 namespace html_viewer {
13
14 class WebCookieJarImpl : public blink::WebCookieJar {
15 public:
16 explicit WebCookieJarImpl(mojo::CookieStorePtr store);
17 virtual ~WebCookieJarImpl();
18
19 // blink::WebCookieJar methods:
20 void setCookie(const blink::WebURL& url,
21 const blink::WebURL& first_party_for_cookies,
22 const blink::WebString& cookie) override;
23 blink::WebString cookies(
24 const blink::WebURL& url,
25 const blink::WebURL& first_party_for_cookies) override;
26 blink::WebString cookieRequestHeaderFieldValue(
27 const blink::WebURL& url,
28 const blink::WebURL& first_party_for_cookies) override;
29
30 private:
31 mojo::CookieStorePtr store_;
32 DISALLOW_COPY_AND_ASSIGN(WebCookieJarImpl);
33 };
34
35 } // namespace html_viewer
36
37 #endif // COMPONENTS_HTML_VIEWER_WEB_COOKIE_JAR_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_clipboard_impl.cc ('k') | components/html_viewer/web_cookie_jar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698