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

Side by Side Diff: services/python/content_handler/content_handler_main.cc

Issue 1923633004: Remove interface_factory_impl.h. (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
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 #include <dlfcn.h> 5 #include <dlfcn.h>
6 #include <python2.7/Python.h> 6 #include <python2.7/Python.h>
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/i18n/icu_util.h" 10 #include "base/i18n/icu_util.h"
11 #include "base/strings/string_split.h" 11 #include "base/strings/string_split.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "mojo/application/application_runner_chromium.h" 13 #include "mojo/application/application_runner_chromium.h"
14 #include "mojo/application/content_handler_factory.h" 14 #include "mojo/application/content_handler_factory.h"
15 #include "mojo/data_pipe_utils/data_pipe_utils.h" 15 #include "mojo/data_pipe_utils/data_pipe_utils.h"
16 #include "mojo/public/c/system/main.h" 16 #include "mojo/public/c/system/main.h"
17 #include "mojo/public/cpp/application/application_delegate.h" 17 #include "mojo/public/cpp/application/application_delegate.h"
18 #include "mojo/public/cpp/application/application_impl.h" 18 #include "mojo/public/cpp/application/application_impl.h"
19 #include "mojo/public/cpp/application/interface_factory_impl.h"
20 #include "mojo/public/python/src/common.h" 19 #include "mojo/public/python/src/common.h"
21 #include "third_party/zlib/google/zip_reader.h" 20 #include "third_party/zlib/google/zip_reader.h"
22 #include "url/gurl.h" 21 #include "url/gurl.h"
23 22
24 char kMojoSystem[] = "mojo_system"; 23 char kMojoSystem[] = "mojo_system";
25 char kMojoSystemImpl[] = "mojo_system_impl"; 24 char kMojoSystemImpl[] = "mojo_system_impl";
26 char kMojoMain[] = "MojoMain"; 25 char kMojoMain[] = "MojoMain";
27 26
28 extern "C" { 27 extern "C" {
29 void initmojo_system(); 28 void initmojo_system();
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 241
243 } // namespace content_handler 242 } // namespace content_handler
244 } // namespace python 243 } // namespace python
245 } // namespace services 244 } // namespace services
246 245
247 MojoResult MojoMain(MojoHandle application_request) { 246 MojoResult MojoMain(MojoHandle application_request) {
248 mojo::ApplicationRunnerChromium runner( 247 mojo::ApplicationRunnerChromium runner(
249 new services::python::content_handler::PythonContentHandlerApp()); 248 new services::python::content_handler::PythonContentHandlerApp());
250 return runner.Run(application_request); 249 return runner.Run(application_request);
251 } 250 }
OLDNEW
« no previous file with comments | « services/native_viewport/app_delegate.h ('k') | services/test_service/test_request_tracker_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698