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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc

Issue 23581006: Reland 220012: Move the functions of filebrowserPrivateApi from the file_manager namespace to the e… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
index cf91d974fb2a58b7ceae114cfa7c8a05f9d814bc..cef2cd200ce08d3cc29e2fdea8b8bb4f44a11560 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
@@ -23,51 +23,51 @@ FileBrowserPrivateAPI::FileBrowserPrivateAPI(Profile* profile)
ExtensionFunctionRegistry* registry =
ExtensionFunctionRegistry::GetInstance();
// Tasks related functions.
- registry->RegisterFunction<ExecuteTaskFunction>();
- registry->RegisterFunction<GetFileTasksFunction>();
- registry->RegisterFunction<SetDefaultTaskFunction>();
+ registry->RegisterFunction<extensions::ExecuteTaskFunction>();
+ registry->RegisterFunction<extensions::GetFileTasksFunction>();
+ registry->RegisterFunction<extensions::SetDefaultTaskFunction>();
// Drive related functions.
- registry->RegisterFunction<GetDriveEntryPropertiesFunction>();
- registry->RegisterFunction<PinDriveFileFunction>();
- registry->RegisterFunction<GetDriveFilesFunction>();
- registry->RegisterFunction<CancelFileTransfersFunction>();
- registry->RegisterFunction<SearchDriveFunction>();
- registry->RegisterFunction<SearchDriveMetadataFunction>();
- registry->RegisterFunction<ClearDriveCacheFunction>();
- registry->RegisterFunction<GetDriveConnectionStateFunction>();
- registry->RegisterFunction<RequestAccessTokenFunction>();
- registry->RegisterFunction<GetShareUrlFunction>();
+ registry->RegisterFunction<extensions::GetDriveEntryPropertiesFunction>();
+ registry->RegisterFunction<extensions::PinDriveFileFunction>();
+ registry->RegisterFunction<extensions::GetDriveFilesFunction>();
+ registry->RegisterFunction<extensions::CancelFileTransfersFunction>();
+ registry->RegisterFunction<extensions::SearchDriveFunction>();
+ registry->RegisterFunction<extensions::SearchDriveMetadataFunction>();
+ registry->RegisterFunction<extensions::ClearDriveCacheFunction>();
+ registry->RegisterFunction<extensions::GetDriveConnectionStateFunction>();
+ registry->RegisterFunction<extensions::RequestAccessTokenFunction>();
+ registry->RegisterFunction<extensions::GetShareUrlFunction>();
// Select file dialog related functions.
- registry->RegisterFunction<CancelFileDialogFunction>();
- registry->RegisterFunction<SelectFileFunction>();
- registry->RegisterFunction<SelectFilesFunction>();
+ registry->RegisterFunction<extensions::CancelFileDialogFunction>();
+ registry->RegisterFunction<extensions::SelectFileFunction>();
+ registry->RegisterFunction<extensions::SelectFilesFunction>();
// Mount points related functions.
- registry->RegisterFunction<AddMountFunction>();
- registry->RegisterFunction<RemoveMountFunction>();
- registry->RegisterFunction<GetMountPointsFunction>();
+ registry->RegisterFunction<extensions::AddMountFunction>();
+ registry->RegisterFunction<extensions::RemoveMountFunction>();
+ registry->RegisterFunction<extensions::GetMountPointsFunction>();
// Hundreds of strings for the file manager.
- registry->RegisterFunction<GetStringsFunction>();
+ registry->RegisterFunction<extensions::GetStringsFunction>();
// File system related functions.
- registry->RegisterFunction<RequestFileSystemFunction>();
- registry->RegisterFunction<AddFileWatchFunction>();
- registry->RegisterFunction<RemoveFileWatchFunction>();
- registry->RegisterFunction<SetLastModifiedFunction>();
- registry->RegisterFunction<GetSizeStatsFunction>();
- registry->RegisterFunction<GetVolumeMetadataFunction>();
- registry->RegisterFunction<ValidatePathNameLengthFunction>();
- registry->RegisterFunction<FormatDeviceFunction>();
+ registry->RegisterFunction<extensions::RequestFileSystemFunction>();
+ registry->RegisterFunction<extensions::AddFileWatchFunction>();
+ registry->RegisterFunction<extensions::RemoveFileWatchFunction>();
+ registry->RegisterFunction<extensions::SetLastModifiedFunction>();
+ registry->RegisterFunction<extensions::GetSizeStatsFunction>();
+ registry->RegisterFunction<extensions::GetVolumeMetadataFunction>();
+ registry->RegisterFunction<extensions::ValidatePathNameLengthFunction>();
+ registry->RegisterFunction<extensions::FormatDeviceFunction>();
// Miscellaneous functions.
- registry->RegisterFunction<LogoutUserFunction>();
- registry->RegisterFunction<GetPreferencesFunction>();
- registry->RegisterFunction<SetPreferencesFunction>();
- registry->RegisterFunction<ZipSelectionFunction>();
- registry->RegisterFunction<ZoomFunction>();
+ registry->RegisterFunction<extensions::LogoutUserFunction>();
+ registry->RegisterFunction<extensions::GetPreferencesFunction>();
+ registry->RegisterFunction<extensions::SetPreferencesFunction>();
+ registry->RegisterFunction<extensions::ZipSelectionFunction>();
+ registry->RegisterFunction<extensions::ZoomFunction>();
event_router_->ObserveFileSystemEvents();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698