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

Side by Side Diff: services/java_handler/java_handler.h

Issue 1993053002: Simplify ContentHandlerFactory a bit. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/java_handler/java_handler.cc » ('j') | 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 SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_ 5 #ifndef SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_
6 #define SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_ 6 #define SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 23 matching lines...) Expand all
34 void RunApplication( 34 void RunApplication(
35 mojo::InterfaceRequest<mojo::Application> application_request, 35 mojo::InterfaceRequest<mojo::Application> application_request,
36 mojo::URLResponsePtr response) override; 36 mojo::URLResponsePtr response) override;
37 37
38 void GetApplication(base::FilePath* archive_path, 38 void GetApplication(base::FilePath* archive_path,
39 base::FilePath* cache_dir, 39 base::FilePath* cache_dir,
40 mojo::URLResponsePtr response, 40 mojo::URLResponsePtr response,
41 const base::Closure& callback); 41 const base::Closure& callback);
42 42
43 mojo::TracingImpl tracing_; 43 mojo::TracingImpl tracing_;
44 mojo::ContentHandlerFactory content_handler_factory_;
45 mojo::URLResponseDiskCachePtr url_response_disk_cache_; 44 mojo::URLResponseDiskCachePtr url_response_disk_cache_;
46 scoped_refptr<base::SingleThreadTaskRunner> handler_task_runner_; 45 scoped_refptr<base::SingleThreadTaskRunner> handler_task_runner_;
47 MOJO_DISALLOW_COPY_AND_ASSIGN(JavaHandler); 46 MOJO_DISALLOW_COPY_AND_ASSIGN(JavaHandler);
48 }; 47 };
49 48
50 } // namespace android 49 } // namespace android
51 } // namespace services 50 } // namespace services
52 51
53 #endif // SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_ 52 #endif // SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_
OLDNEW
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/java_handler/java_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698