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

Side by Side Diff: mojo/shell/shell_test_helper.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
« no previous file with comments | « mojo/shell/shell_test_base.cc ('k') | mojo/system/multiprocess_message_pipe_unittest.cc » ('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 "mojo/shell/shell_test_helper.h" 5 #include "mojo/shell/shell_test_helper.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "mojo/shell/init.h" 12 #include "mojo/shell/init.h"
13 #include "net/base/filename_util.h" 13 #include "net/base/filename_util.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace shell { 16 namespace shell {
17 17
18 ShellTestHelper::ShellTestHelper() { 18 ShellTestHelper::ShellTestHelper() {
19 base::CommandLine::Init(0, NULL); 19 base::CommandLine::Init(0, NULL);
(...skipping 13 matching lines...) Expand all
33 net::FilePathToFileURL(service_dir)); 33 net::FilePathToFileURL(service_dir));
34 } 34 }
35 35
36 void ShellTestHelper::SetLoaderForURL(scoped_ptr<ApplicationLoader> loader, 36 void ShellTestHelper::SetLoaderForURL(scoped_ptr<ApplicationLoader> loader,
37 const GURL& url) { 37 const GURL& url) {
38 context_.application_manager()->SetLoaderForURL(loader.Pass(), url); 38 context_.application_manager()->SetLoaderForURL(loader.Pass(), url);
39 } 39 }
40 40
41 } // namespace shell 41 } // namespace shell
42 } // namespace mojo 42 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/shell_test_base.cc ('k') | mojo/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698