OLD | NEW |
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_NETWORK_COOKIE_STORE_IMPL_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ |
6 #define MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ | 6 #define MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ |
7 | 7 |
8 #include "mojo/application/public/cpp/app_lifetime_helper.h" | 8 #include "mojo/application/public/cpp/app_lifetime_helper.h" |
| 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
9 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" | 10 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" |
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 class NetworkContext; | 14 class NetworkContext; |
15 | 15 |
16 class CookieStoreImpl : public CookieStore { | 16 class CookieStoreImpl : public CookieStore { |
17 public: | 17 public: |
18 CookieStoreImpl(NetworkContext* context, | 18 CookieStoreImpl(NetworkContext* context, |
19 const GURL& origin, | 19 const GURL& origin, |
20 scoped_ptr<mojo::AppRefCount> app_refcount, | 20 scoped_ptr<mojo::AppRefCount> app_refcount, |
(...skipping 11 matching lines...) Expand all Loading... |
32 GURL origin_; | 32 GURL origin_; |
33 scoped_ptr<mojo::AppRefCount> app_refcount_; | 33 scoped_ptr<mojo::AppRefCount> app_refcount_; |
34 StrongBinding<CookieStore> binding_; | 34 StrongBinding<CookieStore> binding_; |
35 | 35 |
36 DISALLOW_COPY_AND_ASSIGN(CookieStoreImpl); | 36 DISALLOW_COPY_AND_ASSIGN(CookieStoreImpl); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace mojo | 39 } // namespace mojo |
40 | 40 |
41 #endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ | 41 #endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ |
OLD | NEW |