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

Side by Side Diff: mojo/runner/context.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 | « mojo/runner/child/runner_connection.cc ('k') | mojo/runner/host/BUILD.gn » ('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 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/runner/context.h" 5 #include "mojo/runner/context.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 10 matching lines...) Expand all
21 #include "base/strings/string_util.h" 21 #include "base/strings/string_util.h"
22 #include "base/trace_event/trace_event.h" 22 #include "base/trace_event/trace_event.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "components/devtools_service/public/cpp/switches.h" 24 #include "components/devtools_service/public/cpp/switches.h"
25 #include "components/devtools_service/public/interfaces/devtools_service.mojom.h " 25 #include "components/devtools_service/public/interfaces/devtools_service.mojom.h "
26 #include "components/tracing/tracing_switches.h" 26 #include "components/tracing/tracing_switches.h"
27 #include "mojo/application/public/cpp/application_connection.h" 27 #include "mojo/application/public/cpp/application_connection.h"
28 #include "mojo/application/public/cpp/application_delegate.h" 28 #include "mojo/application/public/cpp/application_delegate.h"
29 #include "mojo/application/public/cpp/application_impl.h" 29 #include "mojo/application/public/cpp/application_impl.h"
30 #include "mojo/package_manager/package_manager_impl.h" 30 #include "mojo/package_manager/package_manager_impl.h"
31 #include "mojo/public/cpp/bindings/strong_binding.h"
31 #include "mojo/runner/host/in_process_native_runner.h" 32 #include "mojo/runner/host/in_process_native_runner.h"
32 #include "mojo/runner/host/out_of_process_native_runner.h" 33 #include "mojo/runner/host/out_of_process_native_runner.h"
33 #include "mojo/runner/register_local_aliases.h" 34 #include "mojo/runner/register_local_aliases.h"
34 #include "mojo/runner/switches.h" 35 #include "mojo/runner/switches.h"
35 #include "mojo/runner/tracer.h" 36 #include "mojo/runner/tracer.h"
36 #include "mojo/services/tracing/public/cpp/switches.h" 37 #include "mojo/services/tracing/public/cpp/switches.h"
37 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h" 38 #include "mojo/services/tracing/public/cpp/trace_provider_impl.h"
38 #include "mojo/services/tracing/public/cpp/tracing_impl.h" 39 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
39 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" 40 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
40 #include "mojo/shell/application_loader.h" 41 #include "mojo/shell/application_loader.h"
41 #include "mojo/shell/connect_to_application_params.h" 42 #include "mojo/shell/connect_to_application_params.h"
42 #include "mojo/shell/query_util.h" 43 #include "mojo/shell/query_util.h"
43 #include "mojo/shell/switches.h" 44 #include "mojo/shell/switches.h"
44 #include "mojo/util/filename_util.h" 45 #include "mojo/util/filename_util.h"
45 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 46 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
46 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
47 #include "url/gurl.h" 47 #include "url/gurl.h"
48 48
49 namespace mojo { 49 namespace mojo {
50 namespace runner { 50 namespace runner {
51 namespace { 51 namespace {
52 52
53 // Used to ensure we only init once. 53 // Used to ensure we only init once.
54 class Setup { 54 class Setup {
55 public: 55 public:
56 Setup() { 56 Setup() {
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 base::MessageLoop::current()->QuitWhenIdle(); 340 base::MessageLoop::current()->QuitWhenIdle();
341 } else { 341 } else {
342 app_complete_callback_.Run(); 342 app_complete_callback_.Run();
343 } 343 }
344 } 344 }
345 } 345 }
346 } 346 }
347 347
348 } // namespace runner 348 } // namespace runner
349 } // namespace mojo 349 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/child/runner_connection.cc ('k') | mojo/runner/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698