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

Side by Side Diff: chrome/browser/chromeos/fileapi/file_system_backend.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/chromeos/fileapi/file_system_backend.h" 5 #include "chrome/browser/chromeos/fileapi/file_system_backend.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/strings/stringprintf.h"
15 #include "chrome/browser/chromeos/fileapi/file_access_permissions.h" 14 #include "chrome/browser/chromeos/fileapi/file_access_permissions.h"
16 #include "chrome/browser/chromeos/fileapi/file_system_backend_delegate.h" 15 #include "chrome/browser/chromeos/fileapi/file_system_backend_delegate.h"
17 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 16 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
18 #include "chrome/common/url_constants.h" 17 #include "chrome/common/url_constants.h"
19 #include "chromeos/chromeos_switches.h" 18 #include "chromeos/chromeos_switches.h"
20 #include "chromeos/dbus/cros_disks_client.h" 19 #include "chromeos/dbus/cros_disks_client.h"
21 #include "storage/browser/fileapi/async_file_util.h" 20 #include "storage/browser/fileapi/async_file_util.h"
22 #include "storage/browser/fileapi/external_mount_points.h" 21 #include "storage/browser/fileapi/external_mount_points.h"
23 #include "storage/browser/fileapi/file_stream_reader.h" 22 #include "storage/browser/fileapi/file_stream_reader.h"
24 #include "storage/browser/fileapi/file_stream_writer.h" 23 #include "storage/browser/fileapi/file_stream_writer.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 const base::FilePath& entry_path) const { 447 const base::FilePath& entry_path) const {
449 base::FilePath virtual_path; 448 base::FilePath virtual_path;
450 if (!GetVirtualPath(entry_path, &virtual_path)) 449 if (!GetVirtualPath(entry_path, &virtual_path))
451 return storage::FileSystemURL(); 450 return storage::FileSystemURL();
452 451
453 return context->CreateCrackedFileSystemURL( 452 return context->CreateCrackedFileSystemURL(
454 GURL() /* origin */, storage::kFileSystemTypeExternal, virtual_path); 453 GURL() /* origin */, storage::kFileSystemTypeExternal, virtual_path);
455 } 454 }
456 455
457 } // namespace chromeos 456 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698