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

Side by Side Diff: shell/context.cc

Issue 1977023003: ApplicationConnection devolution, part 4 (the end). (Closed) Base URL: https://github.com/domokit/mojo.git@work790_app_conn_devo_3.1
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 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 "shell/context.h" 5 #include "shell/context.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base_switches.h" 9 #include "base/base_switches.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/scoped_vector.h" 17 #include "base/memory/scoped_vector.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/run_loop.h" 19 #include "base/run_loop.h"
20 #include "base/strings/string_split.h" 20 #include "base/strings/string_split.h"
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 "mojo/common/trace_provider_impl.h" 24 #include "mojo/common/trace_provider_impl.h"
25 #include "mojo/common/tracing_impl.h" 25 #include "mojo/common/tracing_impl.h"
26 #include "mojo/edk/embedder/embedder.h" 26 #include "mojo/edk/embedder/embedder.h"
27 #include "mojo/edk/embedder/multiprocess_embedder.h" 27 #include "mojo/edk/embedder/multiprocess_embedder.h"
28 #include "mojo/edk/embedder/simple_platform_support.h" 28 #include "mojo/edk/embedder/simple_platform_support.h"
29 #include "mojo/public/cpp/application/application_connection.h"
30 #include "mojo/public/cpp/application/application_delegate.h" 29 #include "mojo/public/cpp/application/application_delegate.h"
31 #include "mojo/public/cpp/application/application_impl.h" 30 #include "mojo/public/cpp/application/application_impl.h"
32 #include "mojo/public/cpp/application/connect.h" 31 #include "mojo/public/cpp/application/connect.h"
33 #include "mojo/services/tracing/interfaces/trace_provider_registry.mojom.h" 32 #include "mojo/services/tracing/interfaces/trace_provider_registry.mojom.h"
34 #include "mojo/services/tracing/interfaces/tracing.mojom.h" 33 #include "mojo/services/tracing/interfaces/tracing.mojom.h"
35 #include "shell/application_manager/application_loader.h" 34 #include "shell/application_manager/application_loader.h"
36 #include "shell/application_manager/application_manager.h" 35 #include "shell/application_manager/application_manager.h"
37 #include "shell/application_manager/native_application_options.h" 36 #include "shell/application_manager/native_application_options.h"
38 #include "shell/background_application_loader.h" 37 #include "shell/background_application_loader.h"
39 #include "shell/command_line_util.h" 38 #include "shell/command_line_util.h"
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 if (app_urls_.find(url) != app_urls_.end()) { 368 if (app_urls_.find(url) != app_urls_.end()) {
370 app_urls_.erase(url); 369 app_urls_.erase(url);
371 if (app_urls_.empty() && base::MessageLoop::current()->is_running()) { 370 if (app_urls_.empty() && base::MessageLoop::current()->is_running()) {
372 DCHECK(task_runners_->shell_runner()->RunsTasksOnCurrentThread()); 371 DCHECK(task_runners_->shell_runner()->RunsTasksOnCurrentThread());
373 base::MessageLoop::current()->Quit(); 372 base::MessageLoop::current()->Quit();
374 } 373 }
375 } 374 }
376 } 375 }
377 376
378 } // namespace shell 377 } // namespace shell
OLDNEW
« no previous file with comments | « shell/application_manager/application_manager_unittest.cc ('k') | ui/ozone/platform/drm/mojo/drm_ipc_init_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698