Rename the drive: scheme with the externalfile: scheme.
commit90949afe82b9f509e09dcde95700a3839a04f7db
authorhirono <hirono@chromium.org>
Thu, 25 Sep 2014 04:23:37 +0000 (24 21:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Sep 2014 04:24:16 +0000 (25 04:24 +0000)
tree5a95291ca532d6a583a8d7c1bfedb03c79222436
parent558d71f8a7a13239f1af39a5f69161d364dba5e0
Rename the drive: scheme with the externalfile: scheme.

The CL rename following symbols.

* kDriveScheme -> kExternalFileScheme
* drive::DriveProtocolHandler -> chromeos::ExternalFileProtocolHandler
* drive::DriveURLRequestJob -> chromeos::ExternalFileURLRequestJob
* Utility functions in drive/file_system_util.{h,cc} -> fileapi/external_file_url_util.{h,cc}
* Related tests

BUG=367027
TEST=Open HTML, MHTML, PDF, GDOC files on the drive volume.

Review URL: https://codereview.chromium.org/580023003

Cr-Commit-Position: refs/heads/master@{#296642}
23 files changed:
chrome/browser/chromeos/drive/drive_protocol_handler.cc [deleted file]
chrome/browser/chromeos/drive/drive_protocol_handler.h [deleted file]
chrome/browser/chromeos/drive/file_system_util.cc
chrome/browser/chromeos/drive/file_system_util.h
chrome/browser/chromeos/drive/file_system_util_unittest.cc
chrome/browser/chromeos/file_manager/open_with_browser.cc
chrome/browser/chromeos/fileapi/external_file_protocol_handler.cc [new file with mode: 0644]
chrome/browser/chromeos/fileapi/external_file_protocol_handler.h [new file with mode: 0644]
chrome/browser/chromeos/fileapi/external_file_url_request_job.cc [moved from chrome/browser/chromeos/drive/drive_url_request_job.cc with 79% similarity]
chrome/browser/chromeos/fileapi/external_file_url_request_job.h [moved from chrome/browser/chromeos/drive/drive_url_request_job.h with 68% similarity]
chrome/browser/chromeos/fileapi/external_file_url_request_job_unittest.cc [moved from chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc with 72% similarity]
chrome/browser/chromeos/fileapi/external_file_url_util.cc [new file with mode: 0644]
chrome/browser/chromeos/fileapi/external_file_url_util.h [new file with mode: 0644]
chrome/browser/chromeos/fileapi/external_file_url_util_unittest.cc [new file with mode: 0644]
chrome/browser/chromeos/fileapi/file_system_backend.cc
chrome/browser/profiles/profile_io_data.cc
chrome/browser/ui/browser.cc
chrome/browser/ui/location_bar/origin_chip_info.cc
chrome/chrome_browser_chromeos.gypi
chrome/chrome_tests_unit.gypi
chrome/common/url_constants.cc
chrome/common/url_constants.h
chrome/renderer/chrome_content_renderer_client.cc