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

Unified Diff: mojo/services/html_viewer/blink_platform_impl.h

Issue 409883007: Mojo: add support for cookies to HTMLViewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: apply review feedback Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/blink_platform_impl.h
diff --git a/mojo/services/html_viewer/blink_platform_impl.h b/mojo/services/html_viewer/blink_platform_impl.h
index 1f623e9a1815d927bf87417dc2ec80d7a0e54352..b876f211179cb66104ef590a4b973da37c9f712f 100644
--- a/mojo/services/html_viewer/blink_platform_impl.h
+++ b/mojo/services/html_viewer/blink_platform_impl.h
@@ -5,6 +5,7 @@
#ifndef MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
#define MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
+#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/threading/thread_local_storage.h"
#include "base/timer/timer.h"
@@ -16,6 +17,7 @@
namespace mojo {
class ApplicationImpl;
+class WebCookieJarImpl;
class BlinkPlatformImpl : public blink::Platform {
public:
@@ -23,6 +25,7 @@ class BlinkPlatformImpl : public blink::Platform {
virtual ~BlinkPlatformImpl();
// blink::Platform methods:
+ virtual blink::WebCookieJar* cookieJar();
virtual blink::WebMimeRegistry* mimeRegistry();
virtual blink::WebThemeEngine* themeEngine();
virtual blink::WebString defaultLocale();
@@ -69,8 +72,11 @@ class BlinkPlatformImpl : public blink::Platform {
int shared_timer_suspended_; // counter
base::ThreadLocalStorage::Slot current_thread_slot_;
WebThemeEngineImpl theme_engine_;
+ scoped_ptr<WebCookieJarImpl> cookie_jar_;
WebMimeRegistryImpl mime_registry_;
blink::WebScrollbarBehavior scrollbar_behavior_;
+
+ DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl);
};
} // namespace mojo
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698