| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MOJO_PERSISTENT_COOKIE_STORE_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_MOJO_PERSISTENT_COOKIE_STORE_H_ |
| 6 #define MOJO_SERVICES_NETWORK_MOJO_PERSISTENT_COOKIE_STORE_H_ | 6 #define MOJO_SERVICES_NETWORK_MOJO_PERSISTENT_COOKIE_STORE_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
| 10 #include "mojo/services/network/network_service_delegate_observer.h" | 11 #include "mojo/services/network/network_service_delegate_observer.h" |
| 11 #include "net/cookies/cookie_monster.h" | 12 #include "net/cookies/cookie_monster.h" |
| 12 #include "net/extras/sqlite/cookie_crypto_delegate.h" | 13 #include "net/extras/sqlite/cookie_crypto_delegate.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 class SQLitePersistentCookieStore; | 16 class SQLitePersistentCookieStore; |
| 16 } // namespace net | 17 } // namespace net |
| 17 | 18 |
| 18 namespace mojo { | 19 namespace mojo { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // We own the |sql_cookie_store_| that we proxy for. We delete this during | 56 // We own the |sql_cookie_store_| that we proxy for. We delete this during |
| 56 // OnIOWorkerThreadShutdown(). | 57 // OnIOWorkerThreadShutdown(). |
| 57 scoped_refptr<net::SQLitePersistentCookieStore> sql_cookie_store_; | 58 scoped_refptr<net::SQLitePersistentCookieStore> sql_cookie_store_; |
| 58 | 59 |
| 59 DISALLOW_COPY_AND_ASSIGN(MojoPersistentCookieStore); | 60 DISALLOW_COPY_AND_ASSIGN(MojoPersistentCookieStore); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace mojo | 63 } // namespace mojo |
| 63 | 64 |
| 64 #endif // MOJO_SERVICES_NETWORK_MOJO_PERSISTENT_COOKIE_STORE_H_ | 65 #endif // MOJO_SERVICES_NETWORK_MOJO_PERSISTENT_COOKIE_STORE_H_ |
| OLD | NEW |