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

Unified Diff: shell/url_response_disk_cache_loader.h

Issue 1088533003: Adding URLResponse Disk Cache to mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/out_of_process_native_runner.cc ('k') | shell/url_response_disk_cache_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/url_response_disk_cache_loader.h
diff --git a/shell/android/android_handler_loader.h b/shell/url_response_disk_cache_loader.h
similarity index 56%
copy from shell/android/android_handler_loader.h
copy to shell/url_response_disk_cache_loader.h
index 4e782a5ce768b79dfc9db9cb29496c9f2e1bbca0..4f754333fe714ee29da0e134635429a21d8ebd6b 100644
--- a/shell/android/android_handler_loader.h
+++ b/shell/url_response_disk_cache_loader.h
@@ -2,22 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SHELL_ANDROID_ANDROID_HANDLER_LOADER_H_
-#define SHELL_ANDROID_ANDROID_HANDLER_LOADER_H_
+#ifndef SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_
+#define SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "mojo/public/cpp/application/application_impl.h"
-#include "shell/android/android_handler.h"
+#include "services/url_response_disk_cache/url_response_disk_cache_app.h"
#include "shell/application_manager/application_loader.h"
namespace shell {
-class AndroidHandlerLoader : public ApplicationLoader {
+class URLResponseDiskCacheLoader : public ApplicationLoader {
public:
- AndroidHandlerLoader();
- virtual ~AndroidHandlerLoader();
+ URLResponseDiskCacheLoader();
+ ~URLResponseDiskCacheLoader() override;
private:
// ApplicationLoader overrides:
@@ -25,12 +24,12 @@ class AndroidHandlerLoader : public ApplicationLoader {
const GURL& url,
mojo::InterfaceRequest<mojo::Application> application_request) override;
- AndroidHandler android_handler_;
+ mojo::URLResponseDiskCacheApp url_response_disk_cache_;
scoped_ptr<mojo::ApplicationImpl> application_;
- DISALLOW_COPY_AND_ASSIGN(AndroidHandlerLoader);
+ DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheLoader);
};
} // namespace shell
-#endif // SHELL_ANDROID_ANDROID_HANDLER_LOADER_H_
+#endif // SHELL_URL_RESPONSE_DISK_CACHE_LOADER_H_
« no previous file with comments | « shell/out_of_process_native_runner.cc ('k') | shell/url_response_disk_cache_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698