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

Side by Side Diff: mojo/shell/dynamic_application_loader.cc

Issue 559743002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in cc/, chromecast/, cloud_print/, … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 3 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 "mojo/shell/dynamic_application_loader.h" 5 #include "mojo/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/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "mojo/common/common_type_converters.h" 14 #include "mojo/common/common_type_converters.h"
15 #include "mojo/common/data_pipe_utils.h" 15 #include "mojo/common/data_pipe_utils.h"
16 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" 16 #include "mojo/services/public/interfaces/network/url_loader.mojom.h"
17 #include "mojo/shell/context.h" 17 #include "mojo/shell/context.h"
18 #include "mojo/shell/switches.h" 18 #include "mojo/shell/switches.h"
19 #include "net/base/filename_util.h" 19 #include "net/base/filename_util.h"
20 20
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // TODO(darin): What should we do about service errors? This implies that 239 // TODO(darin): What should we do about service errors? This implies that
240 // the app closed its handle to the service manager. Maybe we don't care? 240 // the app closed its handle to the service manager. Maybe we don't care?
241 } 241 }
242 242
243 void DynamicApplicationLoader::LoaderComplete(Loader* loader) { 243 void DynamicApplicationLoader::LoaderComplete(Loader* loader) {
244 loaders_.erase(std::find(loaders_.begin(), loaders_.end(), loader)); 244 loaders_.erase(std::find(loaders_.begin(), loaders_.end(), loader));
245 } 245 }
246 246
247 } // namespace shell 247 } // namespace shell
248 } // namespace mojo 248 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/embedder/simple_platform_shared_buffer_posix.cc ('k') | mojo/shell/out_of_process_dynamic_service_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698