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

Side by Side Diff: mojo/shell/standalone/context.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/shell/standalone/context.h" 5 #include "mojo/shell/standalone/context.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 18 matching lines...) Expand all
29 #include "components/devtools_service/public/interfaces/devtools_service.mojom.h " 29 #include "components/devtools_service/public/interfaces/devtools_service.mojom.h "
30 #include "components/tracing/tracing_switches.h" 30 #include "components/tracing/tracing_switches.h"
31 #include "mojo/public/cpp/bindings/strong_binding.h" 31 #include "mojo/public/cpp/bindings/strong_binding.h"
32 #include "mojo/services/tracing/public/cpp/switches.h" 32 #include "mojo/services/tracing/public/cpp/switches.h"
33 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h" 33 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h"
34 #include "mojo/services/tracing/public/cpp/tracing_impl.h" 34 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
35 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" 35 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
36 #include "mojo/shell/application_loader.h" 36 #include "mojo/shell/application_loader.h"
37 #include "mojo/shell/connect_to_application_params.h" 37 #include "mojo/shell/connect_to_application_params.h"
38 #include "mojo/shell/package_manager/package_manager_impl.h" 38 #include "mojo/shell/package_manager/package_manager_impl.h"
39 #include "mojo/shell/public/cpp/application_connection.h"
40 #include "mojo/shell/public/cpp/application_delegate.h"
41 #include "mojo/shell/public/cpp/application_impl.h"
42 #include "mojo/shell/query_util.h" 39 #include "mojo/shell/query_util.h"
43 #include "mojo/shell/runner/host/in_process_native_runner.h" 40 #include "mojo/shell/runner/host/in_process_native_runner.h"
44 #include "mojo/shell/runner/host/out_of_process_native_runner.h" 41 #include "mojo/shell/runner/host/out_of_process_native_runner.h"
45 #include "mojo/shell/standalone/register_local_aliases.h" 42 #include "mojo/shell/standalone/register_local_aliases.h"
46 #include "mojo/shell/standalone/switches.h" 43 #include "mojo/shell/standalone/switches.h"
47 #include "mojo/shell/standalone/tracer.h" 44 #include "mojo/shell/standalone/tracer.h"
48 #include "mojo/shell/switches.h" 45 #include "mojo/shell/switches.h"
49 #include "mojo/util/filename_util.h" 46 #include "mojo/util/filename_util.h"
50 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 47 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
51 #include "url/gurl.h" 48 #include "url/gurl.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 base::MessageLoop::current()->QuitWhenIdle(); 338 base::MessageLoop::current()->QuitWhenIdle();
342 } else { 339 } else {
343 app_complete_callback_.Run(); 340 app_complete_callback_.Run();
344 } 341 }
345 } 342 }
346 } 343 }
347 } 344 }
348 345
349 } // namespace shell 346 } // namespace shell
350 } // namespace mojo 347 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/standalone/android/android_handler.cc ('k') | mojo/shell/standalone/shell_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698