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

Side by Side Diff: components/filesystem/file_system_app.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 | « components/filesystem/file_system_app.h ('k') | components/filesystem/file_system_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/filesystem/file_system_app.h" 5 #include "components/filesystem/file_system_app.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 12 #include "mojo/public/cpp/bindings/strong_binding.h"
13 #include "services/shell/public/cpp/connection.h" 13 #include "services/service_manager/public/cpp/connection.h"
14 #include "services/shell/public/cpp/connector.h" 14 #include "services/service_manager/public/cpp/connector.h"
15 15
16 #if defined(OS_WIN) 16 #if defined(OS_WIN)
17 #include "base/base_paths_win.h" 17 #include "base/base_paths_win.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #elif defined(OS_ANDROID) 20 #elif defined(OS_ANDROID)
21 #include "base/base_paths_android.h" 21 #include "base/base_paths_android.h"
22 #include "base/path_service.h" 22 #include "base/path_service.h"
23 #elif defined(OS_LINUX) 23 #elif defined(OS_LINUX)
24 #include "base/environment.h" 24 #include "base/environment.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 path = path.Append(FILE_PATH_LITERAL("filesystem")); 83 path = path.Append(FILE_PATH_LITERAL("filesystem"));
84 } 84 }
85 85
86 if (!base::PathExists(path)) 86 if (!base::PathExists(path))
87 base::CreateDirectory(path); 87 base::CreateDirectory(path);
88 88
89 return path; 89 return path;
90 } 90 }
91 91
92 } // namespace filesystem 92 } // namespace filesystem
OLDNEW
« no previous file with comments | « components/filesystem/file_system_app.h ('k') | components/filesystem/file_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698