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/app_lifetime_helper.h" | 8 #include "mojo/application/public/cpp/app_lifetime_helper.h" |
9 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" | 9 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 class NetworkContext; | 13 class NetworkContext; |
14 | 14 |
15 class CookieStoreImpl : public InterfaceImpl<CookieStore> { | 15 class CookieStoreImpl : public InterfaceImpl<CookieStore> { |
16 public: | 16 public: |
17 CookieStoreImpl(NetworkContext* context, | 17 CookieStoreImpl(NetworkContext* context, |
18 const GURL& origin, | 18 const GURL& origin, |
(...skipping 10 matching lines...) Expand all Loading... |
29 NetworkContext* context_; | 29 NetworkContext* context_; |
30 GURL origin_; | 30 GURL origin_; |
31 scoped_ptr<mojo::AppRefCount> app_refcount_; | 31 scoped_ptr<mojo::AppRefCount> app_refcount_; |
32 | 32 |
33 DISALLOW_COPY_AND_ASSIGN(CookieStoreImpl); | 33 DISALLOW_COPY_AND_ASSIGN(CookieStoreImpl); |
34 }; | 34 }; |
35 | 35 |
36 } // namespace mojo | 36 } // namespace mojo |
37 | 37 |
38 #endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ | 38 #endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_ |
OLD | NEW |