Update media/audio to use the new version of LaunchProcess.
[chromium-blink-merge.git] / mojo / services / network / cookie_store_impl.h
blob5bb4d2da3069af17aeb7a7921d1fe383b0e687f2
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.
5 #ifndef MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
8 #include "mojo/services/public/interfaces/network/cookie_store.mojom.h"
9 #include "url/gurl.h"
11 namespace mojo {
12 class NetworkContext;
14 class CookieStoreImpl : public InterfaceImpl<CookieStore> {
15 public:
16 CookieStoreImpl(NetworkContext* context, const GURL& origin);
17 ~CookieStoreImpl() override;
19 private:
20 // CookieStore methods:
21 void Get(const String& url, const Callback<void(String)>& callback) override;
22 void Set(const String& url,
23 const String& cookie,
24 const Callback<void(bool)>& callback) override;
26 NetworkContext* context_;
27 GURL origin_;
29 DISALLOW_COPY_AND_ASSIGN(CookieStoreImpl);
32 } // namespace mojo
34 #endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_