Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: services/url_response_disk_cache/url_response_disk_cache_app.h

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 12 #include "mojo/public/cpp/application/application_connection.h"
13 #include "mojo/public/cpp/application/application_delegate.h" 13 #include "mojo/public/cpp/application/application_delegate.h"
14 #include "mojo/public/cpp/application/application_impl.h" 14 #include "mojo/public/cpp/application/application_impl.h"
15 #include "mojo/public/cpp/application/interface_factory.h" 15 #include "mojo/public/cpp/application/interface_factory.h"
16 #include "mojo/services/url_response_disk_cache/public/interfaces/url_response_d isk_cache.mojom.h" 16 #include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cac he.mojom.h"
17 #include "services/url_response_disk_cache/url_response_disk_cache_db.h" 17 #include "services/url_response_disk_cache/url_response_disk_cache_db.h"
18 #include "services/url_response_disk_cache/url_response_disk_cache_delegate.h" 18 #include "services/url_response_disk_cache/url_response_disk_cache_delegate.h"
19 19
20 namespace mojo { 20 namespace mojo {
21 21
22 class URLResponseDiskCacheApp : public ApplicationDelegate, 22 class URLResponseDiskCacheApp : public ApplicationDelegate,
23 public InterfaceFactory<URLResponseDiskCache> { 23 public InterfaceFactory<URLResponseDiskCache> {
24 public: 24 public:
25 explicit URLResponseDiskCacheApp(scoped_refptr<base::TaskRunner> task_runner, 25 explicit URLResponseDiskCacheApp(scoped_refptr<base::TaskRunner> task_runner,
26 URLResponseDiskCacheDelegate* delegate); 26 URLResponseDiskCacheDelegate* delegate);
(...skipping 11 matching lines...) Expand all
38 scoped_refptr<base::TaskRunner> task_runner_; 38 scoped_refptr<base::TaskRunner> task_runner_;
39 scoped_refptr<URLResponseDiskCacheDB> db_; 39 scoped_refptr<URLResponseDiskCacheDB> db_;
40 URLResponseDiskCacheDelegate* delegate_; 40 URLResponseDiskCacheDelegate* delegate_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheApp); 42 DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheApp);
43 }; 43 };
44 44
45 } // namespace mojo 45 } // namespace mojo
46 46
47 #endif // SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_ 47 #endif // SERVICES_URL_RESPONSE_DISK_CACHE_URL_RESPONSE_DISK_CACHE_APP_H_
OLDNEW
« no previous file with comments | « services/url_response_disk_cache/BUILD.gn ('k') | services/url_response_disk_cache/url_response_disk_cache_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698