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

Side by Side Diff: mojo/services/network/cookie_store_impl.h

Issue 409883007: Mojo: add support for cookies to HTMLViewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing files 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 unified diff | Download patch | Annotate | Revision Log
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 MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
7
8 #include "mojo/services/public/interfaces/network/cookie_store.mojom.h"
9 #include "url/gurl.h"
10
11 namespace mojo {
12 class NetworkContext;
13
14 class CookieStoreImpl : public InterfaceImpl<CookieStore> {
15 public:
16 CookieStoreImpl(NetworkContext* context, const GURL& origin);
17 virtual ~CookieStoreImpl();
18
19 private:
20 // CookieStore methods:
21 virtual void Get(const String& url,
22 const Callback<void(String)>& callback) OVERRIDE;
23 virtual void Set(const String& url, const String& cookie,
24 const Callback<void(bool)>& callback) OVERRIDE;
25
26 NetworkContext* context_;
27 GURL origin_;
28 };
jamesr 2014/07/22 23:53:44 DISALLOW_blahblahblah ?
29
30 } // namespace mojo
31
32 #endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698