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

Side by Side Diff: shell/dynamic_application_loader.cc

Issue 789243002: Restructure public side of network service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase Created 6 years 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 | « shell/dynamic_application_loader.h ('k') | sky/engine/platform/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 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 "shell/dynamic_application_loader.h" 5 #include "shell/dynamic_application_loader.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "mojo/common/common_type_converters.h" 19 #include "mojo/common/common_type_converters.h"
20 #include "mojo/common/data_pipe_utils.h" 20 #include "mojo/common/data_pipe_utils.h"
21 #include "mojo/public/cpp/system/data_pipe.h" 21 #include "mojo/public/cpp/system/data_pipe.h"
22 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" 22 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
23 #include "shell/context.h" 23 #include "shell/context.h"
24 #include "shell/data_pipe_peek.h" 24 #include "shell/data_pipe_peek.h"
25 #include "shell/filename_util.h" 25 #include "shell/filename_util.h"
26 #include "shell/switches.h" 26 #include "shell/switches.h"
27 #include "url/url_util.h" 27 #include "url/url_util.h"
28 28
29 namespace mojo { 29 namespace mojo {
30 namespace shell { 30 namespace shell {
31 31
32 namespace { 32 namespace {
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // TODO(darin): What should we do about service errors? This implies that 397 // TODO(darin): What should we do about service errors? This implies that
398 // the app closed its handle to the service manager. Maybe we don't care? 398 // the app closed its handle to the service manager. Maybe we don't care?
399 } 399 }
400 400
401 void DynamicApplicationLoader::LoaderComplete(Loader* loader) { 401 void DynamicApplicationLoader::LoaderComplete(Loader* loader) {
402 loaders_.erase(std::find(loaders_.begin(), loaders_.end(), loader)); 402 loaders_.erase(std::find(loaders_.begin(), loaders_.end(), loader));
403 } 403 }
404 404
405 } // namespace shell 405 } // namespace shell
406 } // namespace mojo 406 } // namespace mojo
OLDNEW
« no previous file with comments | « shell/dynamic_application_loader.h ('k') | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698