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

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

Issue 23715003: Files.app: Rename the FileBrowserPrivateAPI's functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comments. 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 | « chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
index a025b7f08c9208e670ff53460ca39ed9437664e3..46a3ea2d5debbca19642b3119da63d5985f19a71 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
@@ -58,13 +58,14 @@ std::set<std::string> GetUniqueMimeTypes(base::ListValue* mime_type_list) {
} // namespace
-ExecuteTaskFunction::ExecuteTaskFunction() {
+FileBrowserPrivateExecuteTaskFunction::FileBrowserPrivateExecuteTaskFunction() {
}
-ExecuteTaskFunction::~ExecuteTaskFunction() {
+FileBrowserPrivateExecuteTaskFunction::
+ ~FileBrowserPrivateExecuteTaskFunction() {
}
-bool ExecuteTaskFunction::RunImpl() {
+bool FileBrowserPrivateExecuteTaskFunction::RunImpl() {
// First param is task id that was to the extension with getFileTasks call.
std::string task_id;
if (!args_->GetString(0, &task_id) || !task_id.size())
@@ -115,21 +116,23 @@ bool ExecuteTaskFunction::RunImpl() {
tab_id,
task,
file_urls,
- base::Bind(&ExecuteTaskFunction::OnTaskExecuted, this));
+ base::Bind(&FileBrowserPrivateExecuteTaskFunction::OnTaskExecuted, this));
}
-void ExecuteTaskFunction::OnTaskExecuted(bool success) {
+void FileBrowserPrivateExecuteTaskFunction::OnTaskExecuted(bool success) {
SetResult(new base::FundamentalValue(success));
SendResponse(true);
}
-GetFileTasksFunction::GetFileTasksFunction() {
+FileBrowserPrivateGetFileTasksFunction::
+ FileBrowserPrivateGetFileTasksFunction() {
}
-GetFileTasksFunction::~GetFileTasksFunction() {
+FileBrowserPrivateGetFileTasksFunction::
+ ~FileBrowserPrivateGetFileTasksFunction() {
}
-bool GetFileTasksFunction::RunImpl() {
+bool FileBrowserPrivateGetFileTasksFunction::RunImpl() {
// First argument is the list of files to get tasks for.
ListValue* files_list = NULL;
if (!args_->GetList(0, &files_list))
@@ -196,13 +199,15 @@ bool GetFileTasksFunction::RunImpl() {
return true;
}
-SetDefaultTaskFunction::SetDefaultTaskFunction() {
+FileBrowserPrivateSetDefaultTaskFunction::
+ FileBrowserPrivateSetDefaultTaskFunction() {
}
-SetDefaultTaskFunction::~SetDefaultTaskFunction() {
+FileBrowserPrivateSetDefaultTaskFunction::
+ ~FileBrowserPrivateSetDefaultTaskFunction() {
}
-bool SetDefaultTaskFunction::RunImpl() {
+bool FileBrowserPrivateSetDefaultTaskFunction::RunImpl() {
// First param is task id that was to the extension with setDefaultTask call.
std::string task_id;
if (!args_->GetString(0, &task_id) || !task_id.size())
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698