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

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

Issue 2844923002: Replace InterfaceRegistry on RenderFrameHostImpl with BinderRegistry (Closed)
Patch Set: . Created 3 years, 7 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 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 "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
14 #include "services/service_manager/public/cpp/connector.h" 14 #include "services/service_manager/public/cpp/connector.h"
15 #include "services/service_manager/public/cpp/interface_registry.h"
16 #include "services/service_manager/public/cpp/service_context.h" 15 #include "services/service_manager/public/cpp/service_context.h"
17 16
18 #if defined(OS_WIN) 17 #if defined(OS_WIN)
19 #include "base/base_paths_win.h" 18 #include "base/base_paths_win.h"
20 #include "base/path_service.h" 19 #include "base/path_service.h"
21 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
22 #elif defined(OS_ANDROID) 21 #elif defined(OS_ANDROID)
23 #include "base/base_paths_android.h" 22 #include "base/base_paths_android.h"
24 #include "base/path_service.h" 23 #include "base/path_service.h"
25 #elif defined(OS_LINUX) 24 #elif defined(OS_LINUX)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 path = path.Append(FILE_PATH_LITERAL("filesystem")); 88 path = path.Append(FILE_PATH_LITERAL("filesystem"));
90 } 89 }
91 90
92 if (!base::PathExists(path)) 91 if (!base::PathExists(path))
93 base::CreateDirectory(path); 92 base::CreateDirectory(path);
94 93
95 return path; 94 return path;
96 } 95 }
97 96
98 } // namespace filesystem 97 } // namespace filesystem
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698