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

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

Issue 1979723002: ApplicationConnection devolution, part 3. (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/icu_data/icu_data_impl.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 10 matching lines...) Expand all
21 class JavaHandler : public mojo::ApplicationDelegate, 21 class JavaHandler : public mojo::ApplicationDelegate,
22 public mojo::ContentHandlerFactory::Delegate { 22 public mojo::ContentHandlerFactory::Delegate {
23 public: 23 public:
24 JavaHandler(); 24 JavaHandler();
25 ~JavaHandler(); 25 ~JavaHandler();
26 26
27 private: 27 private:
28 // ApplicationDelegate: 28 // ApplicationDelegate:
29 void Initialize(mojo::ApplicationImpl* app) override; 29 void Initialize(mojo::ApplicationImpl* app) override;
30 bool ConfigureIncomingConnection( 30 bool ConfigureIncomingConnection(
31 mojo::ApplicationConnection* connection) override; 31 mojo::ServiceProviderImpl* service_provider_impl) override;
32 32
33 // ContentHandlerFactory::Delegate: 33 // ContentHandlerFactory::Delegate:
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_; 44 mojo::ContentHandlerFactory content_handler_factory_;
45 mojo::URLResponseDiskCachePtr url_response_disk_cache_; 45 mojo::URLResponseDiskCachePtr url_response_disk_cache_;
46 scoped_refptr<base::SingleThreadTaskRunner> handler_task_runner_; 46 scoped_refptr<base::SingleThreadTaskRunner> handler_task_runner_;
47 MOJO_DISALLOW_COPY_AND_ASSIGN(JavaHandler); 47 MOJO_DISALLOW_COPY_AND_ASSIGN(JavaHandler);
48 }; 48 };
49 49
50 } // namespace android 50 } // namespace android
51 } // namespace services 51 } // namespace services
52 52
53 #endif // SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_ 53 #endif // SERVICES_JAVA_HANDLER_JAVA_HANDLER_H_
OLDNEW
« no previous file with comments | « services/icu_data/icu_data_impl.cc ('k') | services/java_handler/java_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698