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

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

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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.cc ('k') | components/filesystem/files_test_base.h » ('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_impl.h" 5 #include "components/filesystem/file_system_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_file.h" 13 #include "base/files/scoped_file.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "components/filesystem/directory_impl.h" 18 #include "components/filesystem/directory_impl.h"
19 #include "components/filesystem/file_system_app.h" 19 #include "components/filesystem/file_system_app.h"
20 #include "mojo/application/public/cpp/application_connection.h" 20 #include "mojo/shell/public/cpp/application_connection.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 #if defined(OS_WIN) 23 #if defined(OS_WIN)
24 #include "base/base_paths_win.h" 24 #include "base/base_paths_win.h"
25 #include "base/path_service.h" 25 #include "base/path_service.h"
26 #include "base/strings/utf_string_conversions.h" 26 #include "base/strings/utf_string_conversions.h"
27 #elif defined(OS_ANDROID) 27 #elif defined(OS_ANDROID)
28 #include "base/base_paths_android.h" 28 #include "base/base_paths_android.h"
29 #include "base/path_service.h" 29 #include "base/path_service.h"
30 #elif defined(OS_LINUX) 30 #elif defined(OS_LINUX)
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 encoded[1] += (encoded[1] >= 10) ? 'A' - 10 : '0'; 153 encoded[1] += (encoded[1] >= 10) ? 'A' - 10 : '0';
154 encoded[2] = ch % 16; 154 encoded[2] = ch % 16;
155 encoded[2] += (encoded[2] >= 10) ? 'A' - 10 : '0'; 155 encoded[2] += (encoded[2] >= 10) ? 'A' - 10 : '0';
156 encoded_len = 3; 156 encoded_len = 3;
157 } 157 }
158 sanitized_origin->append(encoded, encoded_len); 158 sanitized_origin->append(encoded, encoded_len);
159 } 159 }
160 } 160 }
161 161
162 } // namespace filesystem 162 } // namespace filesystem
OLDNEW
« no previous file with comments | « components/filesystem/file_system_app.cc ('k') | components/filesystem/files_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698