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

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

Issue 1037423002: html_viewer: Run with a cookie jar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: virtual -> override Created 5 years, 9 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
« no previous file with comments | « no previous file | mojo/services/html_viewer/mojo_blink_platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MOJO_BLINK_PLATFORM_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "mojo/services/html_viewer/blink_platform_impl.h" 8 #include "mojo/services/html_viewer/blink_platform_impl.h"
9 9
10 #include "mojo/services/network/public/interfaces/network_service.mojom.h" 10 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 class ApplicationImpl; 13 class ApplicationImpl;
14 } 14 }
15 15
16 namespace html_viewer { 16 namespace html_viewer {
17 17
18 class WebClipboardImpl; 18 class WebClipboardImpl;
19 class WebCookieJarImpl; 19 class WebCookieJarImpl;
20 20
21 class MojoBlinkPlatformImpl : public BlinkPlatformImpl { 21 class MojoBlinkPlatformImpl : public BlinkPlatformImpl {
22 public: 22 public:
23 MojoBlinkPlatformImpl(mojo::ApplicationImpl* app); 23 MojoBlinkPlatformImpl(mojo::ApplicationImpl* app);
24 virtual ~MojoBlinkPlatformImpl(); 24 virtual ~MojoBlinkPlatformImpl();
25 25
26 private: 26 private:
27 // BlinkPlatform 27 // BlinkPlatform
28 virtual blink::WebURLLoader* createURLLoader() override; 28 blink::WebCookieJar* cookieJar() override;
29 virtual blink::WebSocketHandle* createWebSocketHandle() override; 29 blink::WebClipboard* clipboard() override;
30 blink::WebURLLoader* createURLLoader() override;
31 blink::WebSocketHandle* createWebSocketHandle() override;
30 32
31 mojo::NetworkServicePtr network_service_; 33 mojo::NetworkServicePtr network_service_;
32 scoped_ptr<WebCookieJarImpl> cookie_jar_; 34 scoped_ptr<WebCookieJarImpl> cookie_jar_;
33 scoped_ptr<WebClipboardImpl> clipboard_; 35 scoped_ptr<WebClipboardImpl> clipboard_;
34 }; 36 };
35 37
36 } // namespace html_viewer 38 } // namespace html_viewer
37 39
38 #endif // MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ 40 #endif // MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/services/html_viewer/mojo_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698