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

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

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

Powered by Google App Engine
This is Rietveld 408576698