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

Side by Side Diff: webkit/browser/chromeos/fileapi/cros_mount_point_provider.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « webkit/base/origin_url_conversions.cc ('k') | webkit/browser/database/database_util.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "webkit/browser/chromeos/fileapi/cros_mount_point_provider.h" 5 #include "webkit/browser/chromeos/fileapi/cros_mount_point_provider.h"
6 6
7 #include "base/chromeos/chromeos_version.h" 7 #include "base/chromeos/chromeos_version.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chromeos/dbus/cros_disks_client.h" 14 #include "chromeos/dbus/cros_disks_client.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" 15 #include "third_party/WebKit/public/platform/WebCString.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" 16 #include "third_party/WebKit/public/platform/WebFileSystem.h"
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 17 #include "third_party/WebKit/public/platform/WebString.h"
18 #include "webkit/browser/chromeos/fileapi/file_access_permissions.h" 18 #include "webkit/browser/chromeos/fileapi/file_access_permissions.h"
19 #include "webkit/browser/chromeos/fileapi/remote_file_stream_writer.h" 19 #include "webkit/browser/chromeos/fileapi/remote_file_stream_writer.h"
20 #include "webkit/browser/chromeos/fileapi/remote_file_system_operation.h" 20 #include "webkit/browser/chromeos/fileapi/remote_file_system_operation.h"
21 #include "webkit/browser/fileapi/async_file_util_adapter.h" 21 #include "webkit/browser/fileapi/async_file_util_adapter.h"
22 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" 22 #include "webkit/browser/fileapi/copy_or_move_file_validator.h"
23 #include "webkit/browser/fileapi/external_mount_points.h" 23 #include "webkit/browser/fileapi/external_mount_points.h"
24 #include "webkit/browser/fileapi/file_system_context.h" 24 #include "webkit/browser/fileapi/file_system_context.h"
25 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" 25 #include "webkit/browser/fileapi/file_system_file_stream_reader.h"
26 #include "webkit/browser/fileapi/file_system_operation_context.h" 26 #include "webkit/browser/fileapi/file_system_operation_context.h"
27 #include "webkit/browser/fileapi/file_system_task_runners.h" 27 #include "webkit/browser/fileapi/file_system_task_runners.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 std::string mount_name = url.filesystem_id(); 343 std::string mount_name = url.filesystem_id();
344 if (!mount_points_->GetRegisteredPath(mount_name, &root_path) && 344 if (!mount_points_->GetRegisteredPath(mount_name, &root_path) &&
345 !system_mount_points_->GetRegisteredPath(mount_name, &root_path)) { 345 !system_mount_points_->GetRegisteredPath(mount_name, &root_path)) {
346 return base::FilePath(); 346 return base::FilePath();
347 } 347 }
348 348
349 return root_path.DirName(); 349 return root_path.DirName();
350 } 350 }
351 351
352 } // namespace chromeos 352 } // namespace chromeos
OLDNEW
« no previous file with comments | « webkit/base/origin_url_conversions.cc ('k') | webkit/browser/database/database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698