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

Side by Side Diff: shell/url_response_disk_cache_loader.h

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 6 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
« no previous file with comments | « shell/context.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_ 5 #ifndef SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_
6 #define SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_ 6 #define SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/task_runner.h" 9 #include "base/task_runner.h"
10 #include "mojo/public/cpp/application/application_impl.h"
11 #include "services/url_response_disk_cache/url_response_disk_cache_app.h" 10 #include "services/url_response_disk_cache/url_response_disk_cache_app.h"
12 #include "shell/application_manager/application_loader.h" 11 #include "shell/application_manager/application_loader.h"
13 12
14 namespace shell { 13 namespace shell {
15 14
16 class URLResponseDiskCacheLoader : public ApplicationLoader { 15 class URLResponseDiskCacheLoader : public ApplicationLoader {
17 public: 16 public:
18 URLResponseDiskCacheLoader(scoped_refptr<base::TaskRunner> task_runner, 17 URLResponseDiskCacheLoader(scoped_refptr<base::TaskRunner> task_runner,
19 mojo::URLResponseDiskCacheDelegate* delegate); 18 mojo::URLResponseDiskCacheDelegate* delegate);
20 ~URLResponseDiskCacheLoader() override; 19 ~URLResponseDiskCacheLoader() override;
21 20
22 private: 21 private:
23 // ApplicationLoader overrides: 22 // ApplicationLoader overrides:
24 void Load( 23 void Load(
25 const GURL& url, 24 const GURL& url,
26 mojo::InterfaceRequest<mojo::Application> application_request) override; 25 mojo::InterfaceRequest<mojo::Application> application_request) override;
27 26
28 mojo::URLResponseDiskCacheApp url_response_disk_cache_app_; 27 mojo::URLResponseDiskCacheApp url_response_disk_cache_app_;
29 28
30 DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheLoader); 29 DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheLoader);
31 }; 30 };
32 31
33 } // namespace shell 32 } // namespace shell
34 33
35 #endif // SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_ 34 #endif // SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_
OLDNEW
« no previous file with comments | « shell/context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698