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

Side by Side Diff: mojo/services/html_viewer/webcookiejar_impl.h

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

Powered by Google App Engine
This is Rietveld 408576698