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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "mojo/shell/public/cpp/connection.h" 10 #include "services/shell/public/cpp/connection.h"
11 #include "mojo/shell/public/cpp/connector.h" 11 #include "services/shell/public/cpp/connector.h"
12 12
13 #if defined(OS_WIN) 13 #if defined(OS_WIN)
14 #include "base/base_paths_win.h" 14 #include "base/base_paths_win.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #elif defined(OS_ANDROID) 17 #elif defined(OS_ANDROID)
18 #include "base/base_paths_android.h" 18 #include "base/base_paths_android.h"
19 #include "base/path_service.h" 19 #include "base/path_service.h"
20 #elif defined(OS_LINUX) 20 #elif defined(OS_LINUX)
21 #include "base/environment.h" 21 #include "base/environment.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 path = path.Append(FILE_PATH_LITERAL("filesystem")); 80 path = path.Append(FILE_PATH_LITERAL("filesystem"));
81 } 81 }
82 82
83 if (!base::PathExists(path)) 83 if (!base::PathExists(path))
84 base::CreateDirectory(path); 84 base::CreateDirectory(path);
85 85
86 return path; 86 return path;
87 } 87 }
88 88
89 } // namespace filesystem 89 } // 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