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 SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ | 5 #ifndef SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ |
6 #define SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ | 6 #define SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/task_runner.h" | 10 #include "base/task_runner.h" |
11 #include "base/threading/sequenced_worker_pool.h" | 11 #include "base/threading/sequenced_worker_pool.h" |
12 #include "mojo/public/cpp/application/application_connection.h" | |
13 #include "mojo/public/cpp/application/application_delegate.h" | 12 #include "mojo/public/cpp/application/application_delegate.h" |
14 #include "mojo/public/cpp/application/application_impl.h" | 13 #include "mojo/public/cpp/application/application_impl.h" |
15 #include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cac
he.mojom.h" | 14 #include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cac
he.mojom.h" |
16 #include "services/url_response_disk_cache/url_response_disk_cache_db.h" | 15 #include "services/url_response_disk_cache/url_response_disk_cache_db.h" |
17 #include "services/url_response_disk_cache/url_response_disk_cache_delegate.h" | 16 #include "services/url_response_disk_cache/url_response_disk_cache_delegate.h" |
18 | 17 |
19 namespace mojo { | 18 namespace mojo { |
20 | 19 |
21 class URLResponseDiskCacheApp : public ApplicationDelegate { | 20 class URLResponseDiskCacheApp : public ApplicationDelegate { |
22 public: | 21 public: |
(...skipping 10 matching lines...) Expand all Loading... |
33 scoped_refptr<base::TaskRunner> task_runner_; | 32 scoped_refptr<base::TaskRunner> task_runner_; |
34 scoped_refptr<URLResponseDiskCacheDB> db_; | 33 scoped_refptr<URLResponseDiskCacheDB> db_; |
35 URLResponseDiskCacheDelegate* delegate_; | 34 URLResponseDiskCacheDelegate* delegate_; |
36 | 35 |
37 DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheApp); | 36 DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheApp); |
38 }; | 37 }; |
39 | 38 |
40 } // namespace mojo | 39 } // namespace mojo |
41 | 40 |
42 #endif // SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ | 41 #endif // SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ |
OLD | NEW |