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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 48dd95b0dd02b562243efe2d11a4099b2425811a..5c89f1bf39326dd1f8cd960e1b7ff5a5935f7c91 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2354,7 +2354,7 @@ void ChromeContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem(
}
void ChromeContentBrowserClient::GetURLRequestAutoMountHandlers(
- std::vector<fileapi::URLRequestAutoMountHandler>* handlers) {
+ std::vector<storage::URLRequestAutoMountHandler>* handlers) {
for (size_t i = 0; i < extra_parts_.size(); ++i)
extra_parts_[i]->GetURLRequestAutoMountHandlers(handlers);
}
@@ -2362,9 +2362,9 @@ void ChromeContentBrowserClient::GetURLRequestAutoMountHandlers(
void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
content::BrowserContext* browser_context,
const base::FilePath& storage_partition_path,
- ScopedVector<fileapi::FileSystemBackend>* additional_backends) {
+ ScopedVector<storage::FileSystemBackend>* additional_backends) {
#if defined(OS_CHROMEOS)
- fileapi::ExternalMountPoints* external_mount_points =
+ storage::ExternalMountPoints* external_mount_points =
content::BrowserContext::GetMountPoints(browser_context);
DCHECK(external_mount_points);
chromeos::FileSystemBackend* backend = new chromeos::FileSystemBackend(
@@ -2373,19 +2373,17 @@ void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
new chromeos::MTPFileSystemBackendDelegate(storage_partition_path),
browser_context->GetSpecialStoragePolicy(),
external_mount_points,
- fileapi::ExternalMountPoints::GetSystemInstance());
+ storage::ExternalMountPoints::GetSystemInstance());
backend->AddSystemMountPoints();
- DCHECK(backend->CanHandleType(fileapi::kFileSystemTypeExternal));
+ DCHECK(backend->CanHandleType(storage::kFileSystemTypeExternal));
additional_backends->push_back(backend);
#endif
#if defined(ENABLE_SERVICE_DISCOVERY)
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnablePrivetStorage)) {
- additional_backends->push_back(
- new local_discovery::PrivetFileSystemBackend(
- fileapi::ExternalMountPoints::GetSystemInstance(),
- browser_context));
+ additional_backends->push_back(new local_discovery::PrivetFileSystemBackend(
+ storage::ExternalMountPoints::GetSystemInstance(), browser_context));
}
#endif
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/chrome_content_browser_client_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698